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 › objects with low alpha appear black over other obj
Page Index Toggle Pages: 1
objects with low alpha appear black over other obj (Read 498 times)
objects with low alpha appear black over other obj
Jan 21st, 2008, 10:12pm
 
I've noticed that objects with very low alpha values render as black over objects underneath. This is not usually a problem as calling background() clears them, however if combined with creating a motion blur effect, using a semi transparent rectangle overlay, the objects actually leave a trail over the window that won't go away, and eventually obscure the 3D view completely.

Is there a work around for this?
Re: objects with low alpha appear black over other
Reply #1 - Jan 24th, 2008, 4:26pm
 
nevermind, i placed the blur code at the bottom of the draw function and everything's fine and dandy now.
Page Index Toggle Pages: 1