From: Jonathan B. <jbr...@ea...> - 2006-07-13 04:25:32
|
On Wed, 2006-07-12 at 16:07 +0200, Maxim Krikun wrote: > Hi > > I'm running visual python 3.2.1 with python 2.3.5 on Debian-unstable. > > After running from the python interpreter > >>> from visual import * > >>> c=curve(pos=[[0,0]]) > > the VPython window appears, and the CPU consumption by Xorg > goes to around 45%-50% (I don't have hardware openGL) You should get at least a cheap PCI graphics card. You won't be able to do anything interesting otherwise. > When using pyopengl directly, I don't see such behaviour. > > Does this mean that vpython constantly redraws the same model, > even when the model is not changed? Yes. It renders no faster than 50 fps, and always in a thread that is separate from your code. > If so, how can this be avoided? At present, it cannot. > > --Maxim HTH, -Jonathan |