|
From: Bruce S. <Bru...@nc...> - 2008-12-27 19:17:40
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> There's no obstacle at present to creating fly-throughs, is there? An example is stonehenge.py, where one simply updates scene.center and scene.forward to implement the fly-through.<br> <br> Bruce Sherwood<br> <br> symion wrote: <blockquote cite="mid:495...@pr..." type="cite"><font size="-1"><font face="Helvetica, Arial, sans-serif">Here is another program related to big spaces. <a moz-do-not-send="true" href="http://home.primusonline.com.au/knoware/python/measuringstick.py">MeasuringStick.py</a><br> A measuring stick that uses a simple line drawing tool with point and click.<br> The simulation is a Sun/Earth gravity gradient that you can use to measure the distance of various objects.<br> <br> New Year wish list:<br> <br> Two new methods for display():<br> scene.spin : a replacement to scene.forward for reading and writing user spin input<br> scene.zoom : a new method for reading and writing user based zoom input<br> <br> This would leave scene.range/scale for defining overall scene settings and make scene.forward redundant.<br> <br> Scene.zoom should set and get user driven zoom values in the same way that scene.forward returns user spin values.<br> <br> The purpose of this would be to enable programs to turn on or off labels and other objects when user zooms in to field of view or zooms out, respectively.<br> Also, such methods would make it very easy to design a Vpython Scene Animator, driven by a user input stream of spin and zoom and capable of producing smooth, time based Fly-Throughs of ANY scene.<br> <br> Any how, I'm taking a break for a few days.<br> <br> Happy New Year to Everyone on the mailing list.<br> <br> Symion</font></font></blockquote> </body> </html> |