#1
|
|||
|
|||
display the position and euler coords of the main view
hi all
I want to display the position and euler coordinates of the main view. how is this possible, so it always refreshes when I move around? thanks a lot josh |
#2
|
|||
|
|||
Use vizact.ontimer with a rate of 0 or vizact.onupdate to call a function every frame where you can get the viewpoint position and orientation data.
Code:
def showData(): print viz.MainView.getPosition(),viz.MainView.getEuler() vizact.ontimer(0,showData) |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
View | nlfrnassimi | Vizard | 0 | 03-17-2009 03:01 AM |