![]() |
|
|
|
#1
|
|||
|
|||
|
My mistake, I didn't realize preTrans was applied before rotation. Thanks for the help.
|
|
#2
|
|||
|
|||
|
You should not call preTrans on every update. You only need to call it once when you initially setup the link.
Code:
import viz
import viztask
viz.go(viz.HMD | viz.STEREO)
isense = viz.add('intersense.dle')
track = isense.addTracker()
main = viz.link(track,viz.MainView)
main.preTrans([xoff,yoff,zoff])
def mainLoop():
yield viztask.waitKeyDown(' ')
#Do Stuff
viztask.schedule(mainLoop())
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| display the position and euler coords of the main view | Josh | Vizard | 1 | 03-22-2010 11:48 AM |
| View | nlfrnassimi | Vizard | 0 | 03-17-2009 03:01 AM |
| View | nlfrnassimi | Vizard | 4 | 03-12-2009 06:25 AM |
| default start position | erchrastil | Vizard | 2 | 06-23-2008 09:15 AM |
| problem with stereo mode | shivanangel | Vizard | 3 | 10-17-2006 10:58 AM |