From: Andrew W. <an...@ph...> - 2002-12-03 17:48:49
|
On Tue, 03 Dec 2002 09:24:31 -0800, Bruce Peterson wrote: >looks like my major bottleneck is my video card! Vpython has next to no >overhead for static display (e.g. lots (thousands) of objects in a scene >but just spin and zoom operations using the mouse). The updating of moving >Anyone else have experience with Vpython performance? I've done something that sounds similar - displaying the nearest 2367 galaxies (from the 'Tully Nearby Galaxy Catalog') so you can zoom and spin. Perfectly smooth on both my desktop machine (fairly high end) and my laptop, a 1GHz PIII with a GeForce 2, but I haven't checked the frame rate. The code and data file a at: http://www.physics.uwa.edu.au/Courses/First_Year/OurUniverse/software/tu llys.py and http://www.physics.uwa.edu.au/Courses/First_Year/OurUniverse/software/tu lly.csv Galaxies are displayed as short cylinders for spirals or spheres for ellipticals. The orientations are sadly random, not real, in this version, and the sizes are scaled up by a factor of 10 to make it look better. Left clicking on a galaxy shows the name in a popup label. Andrew |