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 & HelpOpenGL and 3D Libraries › hint(ENABLE_DEPTH_SORT) and saveFrame()
Page Index Toggle Pages: 1
hint(ENABLE_DEPTH_SORT) and saveFrame() (Read 585 times)
hint(ENABLE_DEPTH_SORT) and saveFrame()
Apr 21st, 2008, 6:56am
 
Hello Processing Community-

I noticed that if depth sorting is enabled for opengl, saveFrame() outputs a blank image the color of the background.
This is probably a known issue with depth sorting, though I was wondering if there is a way around this?

thanks in advance.
clement

Re: hint(ENABLE_DEPTH_SORT) and saveFrame()
Reply #1 - Apr 21st, 2008, 1:05pm
 
you have to do saveFrame() at the start of the draw() loop, before you draw anything to screen.

its explained further here.
http://dev.processing.org/bugs/show_bug.cgi?id=692
Re: hint(ENABLE_DEPTH_SORT) and saveFrame()
Reply #2 - Apr 21st, 2008, 11:32pm
 
Thank you very much Julapy.
Page Index Toggle Pages: 1