From: Jonathan B. <jbr...@ea...> - 2004-05-13 01:57:41
|
On Wed, 2004-05-12 at 21:40, Jaap Spies wrote: > On my linux RH8.0 box bounce2.py takes 75-96% of the CPU, depending on > the load of other processes, See my earlier comments about controlling the execution timing with visual.rate(). > stonehenge.py seems to run for free: 0% , probably hidden in X. Actually, if you are using the DRI, or one of the proprietary graphics drivers, the only thing that X has to do to make VPython work is open a window, pass mouse movement and button presses, and pass keyboard clicks. All of those are extremely cheap. The OpenGL information is passed almost directly to the video card, via the kernel, in batches. HTH, Jonathan Brandmeyer |