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()