From: Joe H. <hea...@gm...> - 2007-12-27 00:31:36
|
I didn't know it was ever possible to kill a VPython program from =20 inside the program, but I too want to know how! Joe Heafner (Sent from my iPhone.) On Dec 26, 2007, at 19:21, Bruce Sherwood <Bru...@nc...> =20 wrote: > I thought I remembered that import sys followed by sys.exit() would =20= > kill > a VPython program. But when I try this on either Visual 3 or Visual =20= > 4 it > doesn't have that effect. Does someone else know how to kiil a VPython > program from the program? > > Bruce Sherwood > > Fr=C3=A9d=C3=A9ric Mantegazza wrote: >> On mercredi 26 d=C3=A9cembre 2007, Bruce Sherwood wrote: >> >> >>> Thanks for the detailed report. >>> >>> crossproduct and planar: These had the same problem as some other >>> examples -- the workaround is simply to add rate(100) immediately >>> following the while statement. I simply failed to catch these =20 >>> further >>> examples of the problem of quitting from a tight loop. (But I =20 >>> should say >>> I only saw a problem with quitting, not any sluggishness.) I've =20 >>> checked >>> in corrected versions to CVS. >>> >>> glinfo: It's not clear to me whether this has ever worked properly =20= >>> on >>> Linux. Note the statement in the program, "This test of OpenGL =20 >>> options >>> is useful mainly on Windows." >>> >>> randombox: I believe the poor performance is due to incomplete >>> implementation of improved handling of lighting of boxes. There =20 >>> needs to >>> be variable level of detail in splitting a side into a number of >>> triangles, dependent on how far away the box is, as is in the case =20= >>> for >>> spheres. I'm aware of the issue. As was the case with curve, box =20 >>> needs >>> work to cut the render speed significantly. >>> >> >> Ok. >> >> >>> texturetest and Tk-Visual: I can't reproduce any problem with these >>> examples. >>> >> >> Strange... BTW, you didn't tell me how (if it is possible) to quit a >> vpython app without using the exit button? >> >> >>> I'm delighted that the changes made a big improvement in the =20 >>> performance >>> of your app. >>> >> >> :o) >> >> > > ---=20 > ---------------------------------------------------------------------- > 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 |