From: Bruce S. <Bru...@nc...> - 2009-11-17 03:48:52
|
I would say that your measurements clearly show that VPython is unsuitable for your task. The basic problem is that VPython is designed to facilitate the creation of navigable animations, which means that rendering must be done within a fraction of a second to permit responsive navigation with the mouse. Since this rendering is being done in C++, not in Python (though the Python objects must be referenced from the C++ code), it seems unlikely to me that some other engine would give you the interactivity you're looking for, but maybe someone reading this list can recommend an application that can do what you need. The only thing that can reduce the render time would seem to be to make the spheres extremely small, so that there is little to render. Sorry! Bruce Sherwood Tim Smith (25121) wrote: > Something I've noticed with vpython is speed doesn't seem to scale up. > In my model I found 1000 points has a render time of 17, 10,000 points > has a render time of 170, and 50,000 point has a render time of 445. > Once I go over the 10,000 point mark performance starts to go down > exponentially. > What I'm wondering, is I'll potentially have to render 1,000,000 points > for one of my projects, is vpython unsuitable for my task and is there a > faster python 3d library out there? I've been really impressed with how > fast vpython has enabled me to produce from very detailed models, how > ever working with such slow objects is going to drive me a little batty > eventually. > |