From: Bruce S. <Bru...@nc...> - 2007-12-27 00:21:47
|
I thought I remembered that import sys followed by sys.exit() would kill a VPython program. But when I try this on either Visual 3 or Visual 4 it doesn't have that effect. Does someone else know how to kiil a VPython program from the program? Bruce Sherwood Frédéric Mantegazza wrote: > On mercredi 26 décembre 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 further >> examples of the problem of quitting from a tight loop. (But I should say >> I only saw a problem with quitting, not any sluggishness.) I've checked >> in corrected versions to CVS. >> >> glinfo: It's not clear to me whether this has ever worked properly on >> Linux. Note the statement in the program, "This test of OpenGL 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 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 for >> spheres. I'm aware of the issue. As was the case with curve, box 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 performance >> of your app. >> > > :o) > > |