Open vorg opened 11 years ago
Because it's still double buffered?
So is this expected behavior?
On Wed, May 22, 2013 at 10:54 PM, Dean McNamee notifications@github.comwrote:
Because it's still double buffered?
— Reply to this email directly or view it on GitHubhttps://github.com/deanm/plask/issues/23#issuecomment-18310604 .
Marcin Ignac http://marcinignac.com @marcinignac
I mean, I haven't seen exactly what you are describing, and I don't understand what this has to do w/ multisampling. However if you keep drawing over a double buffered surface than for sure you will have flicker. You need to draw to another framebuffer and blit it to the back buffer every frame. I think this is pretty standard, I am not sure of a real way to do things w/o double buffering since you would be drawing to the current buffer otherwise which is pretty much guaranteed to cause tearing.
Yep but I would expect ping pong so you never see the drawing but it shouldn't flickr to black. Look at the video, it's pretty bad. Just tried similar thing in Cinder and it doesn't flickr. No idea... I'll just use multisampling for now..
On Thu, May 23, 2013 at 1:10 PM, Dean McNamee notifications@github.comwrote:
I mean, I haven't seen exactly what you are describing, and I don't understand what this has to do w/ multisampling. However if you keep drawing over a double buffered surface than for sure you will have flicker. You need to draw to another framebuffer and blit it to the back buffer every frame. I think this is pretty standard, I am not sure of a real way to do things w/o double buffering since you would be drawing to the current buffer otherwise which is pretty much guaranteed to cause tearing.
— Reply to this email directly or view it on GitHubhttps://github.com/deanm/plask/issues/23#issuecomment-18339165 .
Marcin Ignac http://marcinignac.com @marcinignac
Video? And could you send some code to reproduce it?
It's attached to the previous email
On Friday, May 24, 2013, Dean McNamee wrote:
Video?
— Reply to this email directly or view it on GitHubhttps://github.com/deanm/plask/issues/23#issuecomment-18433707 .
Marcin Ignac http://marcinignac.com @marcinignac
If you take the 500_triangle example with multisampling disabled
and disable clearing color buffer by changing
to
everything starts to flickr. Why? It's common technique for generative painting so I would expect it to work.