WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-08-2007, 10:34 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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)
Let me know if you have problems with this.
Reply With Quote
  #2  
Old 10-09-2007, 09:35 AM
JMOwens JMOwens is offline
Member
 
Join Date: Jun 2007
Location: Providence, RI
Posts: 34
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!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:11 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC