View Single Post
  #2  
Old 06-05-2012, 03:57 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
I'm not sure how the zSight sensor calibrates itself. You might need to ask Sensics about this. Either way, you will need to apply a postEuler operator on the view link to align it with your virtual north. Example:
Code:
view_link = viz.link(tracker, viz.MainView)
view_link.postEuler([45,0,0])
The zSight sensor does not provide position data. So you will need to either link a position tracker to the view or manually control the viz.MainView object yourself. For example, if you need to position the view at [1,2,3], you would use the following code:
Code:
viz.MainView.setPosition([1,2,3])
Reply With Quote