View Single Post
  #2  
Old 11-29-2011, 04:37 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,455
a. You can scale movement using the <link>.postScale command:
Code:
tracker = vrpn.addTracker('PPT0@hostname',0)  
link = viz.link(tracker,viz.MainView)

#Scale X and Z movement by a factor of 2
link.postScale([2,1,2])
b. If you want to scale the Y data use the command above. If you want to add some value to the Y data use:
Code:
link.postTrans([0,2,0])
c. The position in both PPT and Vizard are in meters so there is no conversion necessary. If this does not answer your question please explain it some more.
Reply With Quote