#1
|
|||
|
|||
cannot get eyeheight() working with vizconnect
with a call to viz.go() and simple scene loaded I can easily change the height of the viewer by keyboard input using
vizact.onkeydown('2', viz.MainView.eyeheight, 1 ) however if I replace the viz.go() for a vizconnect.go() - calling in settings configured for keyboard and mouse navigation, the navigation works fine however the calls to change the eyeheight seem to be ignored. Can anyone tell me what I'm doing wrong? Is it how my vizconnect file is setup? What I want to do longer term is use this with PPT tracking but to modify the height of the participant's viewpoint. Many thanks, John |
#2
|
|||
|
|||
If the display is parented to another object in Vizconnect, then the link will override the viewpoint command in Vizard. From Vizconnect, you can add a post trans offset in the Offsets dialog for the PPT Tracker to adjust the height. Take a look at the Displays and Trackers tutorial for an example using offsets.
|
#3
|
|||
|
|||
adjusting eyeheight when using vizconnect
Thanks for the pointer Jeff.
To do it dynamically I ended up doing: Code:
vizconnect.go('my_vizconnect.py') gTracker = vizconnect.getTracker('head_tracker') gLink = gTracker.getLink() # now apply an offset to the height gLink.postTrans([0,-0.25,0], target=viz.LINK_POS_OP) Quote:
|
Tags |
vizconnect |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to adjust eye height with vizconnect setup | johnallen | Vizard | 1 | 07-28-2014 04:46 PM |
Vizconnect SpaceGrip problem | JB_HP_Viz | Vizard | 3 | 06-17-2014 04:03 AM |
delete hand in vizconnect | rvenegas | Vizard | 4 | 06-05-2014 11:17 PM |
Vizconnect Save As Dialog | Jeff | Vizard | 0 | 05-01-2014 10:45 AM |
Intersense Eyeheight | wouters | Vizard | 2 | 04-16-2008 02:15 PM |