We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Flicker-free animation
Page Index Toggle Pages: 1
Flicker-free animation (Read 485 times)
Flicker-free animation
Aug 13th, 2008, 1:34am
 
Hi,

Is there a simple way to do double-buffering/vertical-sync in processing?

I found nothing by googling (other than some workaround methods that mean increased code complexity).

Thanks!
Re: Flicker-free animation
Reply #1 - Aug 13th, 2008, 4:52pm
 
Processing already double buffers by default. We don't do vertical sync (mostly) because that can only be controlled when you're running in full screen mode.

Where are you seeing flicker?
Re: Flicker-free animation
Reply #2 - Aug 15th, 2008, 12:26pm
 
I'm actually seeing some tearing, not really ficker, bacause I have some objects that quickly appear and disappear from the screen. Without vsync, I guess I have to change things a bit.

Not really a problem, thanks for the quick reply.
Page Index Toggle Pages: 1