[visionegg] Re: VisionEgg OpenGL - jerky motion

  • From: Andrew Straw <astraw@xxxxxxxxxxx>
  • To: Gabriel Nevarez <Gabriel.Nevarez@xxxxxxxxxxxxxxxx>, visionegg@xxxxxxxxxxxxx
  • Date: Thu, 11 Oct 2007 07:49:15 -0700

Hi Gabriel,

(I am replying also to the VE list, in case others have suggestions.)

I have not experienced this type of issue before, and I don't have any silver bullets. I'd suggest, as a first step, making the circles the same size to test your hypothesis. If there is something non-optimal about how we're drawing circles, I'm sure an alternative approach can be found.

Cheers,
Andrew

Gabriel Nevarez wrote:
Hi Andrew,

I wrote a VisionEgg application some time ago that involves two circles
colliding or passing by each other.

A colleague of mine who's using the program in her lab tells me that the program
is exhibiting jerky motion, whereas just a few months ago it was running
smoothly. Her IT people say they made no major upgrades in the meantime but did
upgrade their LCD screens (which have been verified not to cause any problems).

Unfortunately, I do not have access to her machine, thus I need to pinpoint the
problem via phone and email correspondence.

However, I had seen this problem before, particularly when drawing objects of
drastically different sizes.  For example, if I drew two circles of the same
size and have them move toward each other, they would move smoothly, updating
on every frame.

However, if one circle was significantly larger or smaller than the other one (I
do not recall the thresholds), the entire scene motion became erratic and
jerky, updating only every few frames.

I figured this was some artifact of the way OpenGL updates were implemented
within VE but never pursued this issue.  However, I suspect this may be
relevant to my colleague's problem with the program now.

Has anyone experienced this kind of aberrant OpenGL behaviour within VE, and if
so, do you have any suggestions?

Many thanks,

-=Gabriel Nevarez
(formerly at) Cardiff University
University of Manchester
gabriel.nevarez@xxxxxxxxx
gabriel.nevarez@xxxxxxxxxxxxxxxx

======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts:

  • » [visionegg] Re: VisionEgg OpenGL - jerky motion