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 › GLGraphicsOffScreen not working in linux
Page Index Toggle Pages: 1
GLGraphicsOffScreen not working in linux? (Read 659 times)
GLGraphicsOffScreen not working in linux?
Mar 19th, 2009, 9:19pm
 
So I've just downloaded the great glgraphics library for processing, and all the examples run perfecty except the offscreen buffer example.  Wouldn't you know this is exactly the reason I need this library...

Has anyone else experienced problems with this in linux?
Re: GLGraphicsOffScreen not working in linux?
Reply #1 - Mar 19th, 2009, 11:11pm
 
I figured out that processing 1.0.1 works fine with GLGraphicsOffScreen.  1.0.2 and 1.0.3 have broken this feature of the glgraphics library.  At least for me.
Re: GLGraphicsOffScreen not working in linux?
Reply #2 - Mar 21st, 2009, 8:41am
 
Not true...

You just have to use:
size(800, 600, GLConstants.GLGRAPHICS);

instead of:
size(800, 600, OPENGL);
Re: GLGraphicsOffScreen not working in linux?
Reply #3 - Apr 2nd, 2009, 9:56am
 
Hello,

I think the problem is due to an issue with the noFill() function (http://dev.processing.org/bugs/show_bug.cgi?id=1222), and a workaround is to reset the fill state with a call to fill(0) after using noFill().

Anyways, I just uploaded a newer version of glgraphics (0.8.9.6) that includes an update Offscreen example. Download from here:

https://sourceforge.net/project/showfiles.php?group_id=225391&package_id=272650&
release_id=672886
Page Index Toggle Pages: 1