From: Bruce S. <Bru...@nc...> - 2006-08-31 16:50:53
|
It may not be quite what you want, but note that in the contributed programs section of vpython.org the program movecamera.py may be related to your questions. Also, you might consider taking over the mouse yourself, if you have special needs. Turn off userzoom and userspin and display the scene as you wish, based on whatever mouse interactions you wish. The example program stonehenge.py that comes with VPython is of this kind. Bruce Sherwood nom de guerre wrote: > hi. > > i have the folowing problem: i would like to move the camera in the > same z distance from my object. so what i would like to do is to > update the z coord of camera. the display.mouse.camera is ro and You > suggest to modify the: forward, up, center, range. so the problem > comes. when i zoom with middle mouse button none of these params > change! so i do not know what actual 'zoom' makes. i checked for docs, > usergroup but still i have no idea how to solve the problem. any > suggestions? > > this question can be more general -- the z axis may be identified by > forward.. > > thanks in advance. > > bests, > szymon stoma. > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >------------------------------------------------------------------------ > >_______________________________________________ >Visualpython-users mailing list >Vis...@li... >https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |