[PyOpenGL-Users] stale mouse events
Brought to you by:
mcfletch
From: Artem B. <ar...@v2...> - 2005-04-08 13:23:51
|
hi i've discovered OpenGLContext the day before yesterday (as well as numpy) and decided to give the thing a try and wrote a simple particle system (it's just a bunch of particles moving in random directions with random speed). if i "overload" my particle system with too many particles i get weird trackball navigation behaviour - it seems it remembers all the mouse events and then plays them back as it gets a chance (which may be several seconds after i've dragged the mouse). i understand that i've wired my particles updation to the wrong place, but i wonder what would the correct place be? I attach the code - it's quite simple, along the lines of tests/*.py People with modern computers will wanna create more particles to see it misbehave (line 28). thanks in advance, artm P.S. don't mind the file name ;-) |