From: Bruce S. <bas...@un...> - 2003-07-24 00:56:39
|
See the section "Controlling One or More Visual Display Windows" in the=20 on-line reference manual. Basically, you need to adjust scene.forward=20 (direction of view), scene.range (or equivalently scene.scale) for zoom,=20 possibly scene.fov (field of view). Note that the demo program=20 stonehenge.py continually adjusts zoom and rotate based on mouse motion,=20 to let you move through the scene. Bruce Sherwood Jos=E9 A Mart=EDn H wrote: > Hi, How to zoom in and zoom out with code, eg controlling the zoom with= some > scene params >=20 >=20 > thanks.... >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |