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 › fading using fill() with OPENGL
Page Index Toggle Pages: 1
fading using fill() with OPENGL (Read 1106 times)
fading using fill() with OPENGL
Sep 13th, 2009, 3:07pm
 
apparently it's a non-bug (WONTFIX) that using the fade trick with OPENGL doesn't always work, due to inconsistencies in drivers.

fading: http://processing.org/hacks/hacks:fading

issue: http://dev.processing.org/bugs/show_bug.cgi?id=1054

Fry's suggestion on the bug page of using hint(DISABLE_OPENGL_2X_SMOOTH) didn't work for me (Macbook Pro, Radeon X1600, OSX 10.5.8), but I just added   hint(DISABLE_DEPTH_TEST); straight after it in setup() and this seems to have fixed the problem.

i.e. both of the hint() calls...

Code:
size(1000,800,OPENGL);
hint(DISABLE_OPENGL_2X_SMOOTH);
hint(DISABLE_DEPTH_TEST);


YMMV
Re: fading using fill() with OPENGL
Reply #1 - Sep 13th, 2009, 8:37pm
 
so this does not work for you  curious...
http://benhem.com/games/GLfade/
Re: fading using fill() with OPENGL
Reply #2 - Sep 14th, 2009, 3:01am
 
GLfade doesn't work here. i get a white square that follows the mouse on a grey background but no obvious fading.

Windows XP, ATI video card (Asus X1550 Driver v8.33.0.0 apparently)
Re: fading using fill() with OPENGL
Reply #3 - Sep 14th, 2009, 3:35pm
 
that's better (in more ways than one)

linux (fedora 9), nvidia 7300 with driver v173.14.15
Page Index Toggle Pages: 1