From: Bruce S. <Bru...@nc...> - 2007-12-25 06:24:39
|
Do try the new 4.beta21, which addresses many problems, some of which are those you mention. In particular, the problems with tictac.py and toroid_drag.py (and also hanoi.py) have to do with loops containing almost no computation, a case where the multithreading is not doing the right job for reasons not understood. As a workaround, those programs now contain rate statements, which don't harm perfomance but make the programs work properly. As mentioned in the announcement of 4.beta21, there are various performance problems with rendering, and I hope to address them. I've already made a big improvement in handling curves containing large numbers of points. At the moment there is no way to texture the inside of a sphere, but that's an interesting suggestion. I suppose you've already noticed that in either Visual 3 or 4 you can move inside an object. Bruce Sherwood Frédéric Mantegazza wrote: > 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: > > - controlstest.py: closing the main window using the window x box only > closes the 3D view, and freezes the main view. > - convex.py: closing the window using the window x box freezes. > - crossproduct.py: 100% CPU usage. very Slow. > - glinfo.py: freezes after printing the infos > - planar.py: CPU 100% usage > - randombox.py: 80% CPU usage > - texturetest.py: freeze if closed using the window x box > - tictac.py: 100% CPU usage > - Tk-Visual.py: freezes if 3D view closed using the window x box > - toroid_drag.py: 100% CPU usage > > 3) my app is much more slower (drag/move), and I'hve now 60-70% CPU usage > (vs 10-15% with vpython 3). It also freezes if I close the 3D view using > the window x box. > > I have a general question: how do I cleanly stop the vpython mainloop from > 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 > switched to vpython 4. I'm developping a pano head simulation, and I want > to apply a 360°x180° pano on a vpython sphere, to simulate the real word. > BTW, is it possible to map the image *inside* a sphere? > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 > |