From:
<fre...@gb...> - 2007-12-23 11:25:41
|
Ok, so I'm now using vpython 4... 1) it fixed the crash when quit/hide display :o)))) 2) all examples passed, but some have strange behaviour: =2D controlstest.py: closing the main window using the window x box only=20 closes the 3D view, and freezes the main view. =2D convex.py: closing the window using the window x box freezes. =2D crossproduct.py: 100% CPU usage. very Slow. =2D glinfo.py: freezes after printing the infos =2D planar.py: CPU 100% usage =2D randombox.py: 80% CPU usage =2D texturetest.py: freeze if closed using the window x box =2D tictac.py: 100% CPU usage =2D Tk-Visual.py: freezes if 3D view closed using the window x box =2D toroid_drag.py: 100% CPU usage 3) my app is much more slower (drag/move), and I'hve now 60-70% CPU usage=20 (vs 10-15% with vpython 3). It also freezes if I close the 3D view using=20 the window x box. I have a general question: how do I cleanly stop the vpython mainloop from= =20 my app? I mean, without the need to click on the GTK close button? Last, I'm very impressed by the texture feature: in fact, this is why I=20 switched to vpython 4. I'm developping a pano head simulation, and I want=20 to apply a 360=B0x180=B0 pano on a vpython sphere, to simulate the real wor= d.=20 BTW, is it possible to map the image *inside* a sphere?=20 =2D-=20 Fr=E9d=E9ric http://www.gbiloba.org |