From: Ron A. <rr...@ro...> - 2007-12-31 04:01:27
|
Bruce Sherwood wrote: > That's a spectacular demonstration of work that needs to be done on the > beta version, as it takes 5 seconds (!) to render the scene on my > laptop, whereas the display and motion are completely smooth in the > production version of VPython. I could possibly change it to add the asteroid objects after the main loop is started until a desired frame rate is achieved. It will still run smoothly on slower computers that way. And display the object count in a corner for comparisons. > I've added this to the contributed section of vpython.org. Thanks! You're welcome, it was fun to figure out how to do it too. Ron > I deleted the unnecessary line that made the mouse cursor visible, since > that's the default and this feature is as yet missing from the beta > version, should someone wish to see the extreme slowness of the rendering. > > Bruce Sherwood > Ron Adam wrote: >> >> Bruce Sherwood wrote: >>> Questions were asked recently about looking outward from the origin >>> (or other location) and rotating the view of the surrounding scene. >>> As an example of this kind of viewing, see look_around.py in the >>> contributed section of vpython.org. >>> >>> Bruce Sherwood >> Here's a fun demo that uses rotating and spin I meant to submit some >> time ago and never did. >> >> Enjoy, >> Ron Adam >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ |