View Single Post
  #13  
Old 10-26-2016, 05:17 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Quote:
2) I didn't understand how to correctly use your solution to achieve my second goal, which is to get the correlation between position and orientation. I read about the vizmat module but it seems that the methods relay on previous data such as points, positions, vectors and i don't have previous data that can help. I would appreciate if you can explain furthermore.
I don't understand what you are trying to do. What do you mean by correlation between position and orientation? You can use the following commands to get the viewpoint position and orientation:

Code:
view = viz.MainView
pos = view.getPosition()
ori = view.getEuler()

Last edited by Jeff; 10-26-2016 at 05:19 PM.
Reply With Quote