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 › Soft Edge / Edge Blending
Page Index Toggle Pages: 1
Soft Edge / Edge Blending (Read 771 times)
Soft Edge / Edge Blending
May 13th, 2009, 10:26am
 
hello there!

i want to make a projection with 2 beamers, where the both screens are soft edged, meaning both screens fade out at one side and overlap when projected.

i have my content now in an offscreen buffer (GLGraphicsOffScreen from codeanticode), but i have some troubles getting correct alpha masking (yes, i know about the thread "PGraphicsOffscreenGL + Alpha-Mask?"). but either my texture is completely masked, or completely unmasked.

could someone provide me some sample code?

and: is there a way to do all the processing (i mean of the edge blending) solely in a shader?

thanks in advance,

micha
Page Index Toggle Pages: 1