![]() |
|
|
|
#1
|
|||
|
|||
|
Sorry, I meant what tracking hardware are you using. In either case, you can apply an offset to the tracker link. Example:
Code:
#Add 6DOF tracker
tracker = viz.add('tracker.dls')
#Link tracker to main view
headLink = viz.link(tracker,viz.MainView)
#Apply offset to head to account for physical tracker offset
headLink.preTrans(0,-0.15,0.13)
|
|
#2
|
|||
|
|||
|
Sorry about that - we're using an Intersense IS-900 tracker.
I'll try the .preTrans, but could you please explain to me how it differs from view.translate? The vizard help file only explains that it "will pre-multiply the matrix with the specified translation", which I don't quite understand. Does this mean that it works with the node's local coordinates instead of the global coordinates? This is what we need, so the viewpoint is always + 0.13m in front of the tracker, not .13m frontward in z-space. Thanks! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|