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 & HelpPrograms › Mask images on a different plane
Page Index Toggle Pages: 1
Mask images on a different plane (Read 379 times)
Mask images on a different plane
Jul 9th, 2007, 3:08am
 
I face a problem, which I cannot figure out how to even start solving it.

I'm working in 3D, using openGL. I create a vertex polygon on plane (x,y) with a masked a texture. Then, I draw several images, which are drawn vertically to (x,y). I want the part of the images that is on top of the vertex not to be drawn. To put it in other words, it would be like as if I would create a 3D barrier object whose base would be defined by the polygon geometry, and its height I could set, to act as a black hole, masking the part of any image which happens to fall in it. Do I have any chance?
Page Index Toggle Pages: 1