PDA

View Full Version : Co-ordinates


blessonisaac
10-24-2010, 06:57 PM
Dear administrator,

I have imported a wrl file to Vizard and activated it in active stereo mode using Power wall. viz.Quad_BUFFER. My question is how can i get the model infront of the screen. I feel difficulty in searching for the model all around using the mouse. Can any co-ordinate script in python can help me to bring the model infront of the screen when it is run at the first time, So I need not worry about searching for the model using the mouse?

Thanks
Blesson Isaac

Jeff
10-25-2010, 01:00 PM
If you are using the powerwall example from the documentation there is an object caveorigin created from the CaveView class. You can use that to move the origin of the cave around within the virtual environment. You could set the position and orientation of caveorigin so that your model is directly in front when the script begins running.