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 & HelpSyntax Questions › making kind of layer effect
Page Index Toggle Pages: 1
making kind of layer effect (Read 949 times)
making kind of layer effect
Oct 5th, 2009, 11:06am
 
hey guys! i wanted to make a kind of loop graphics for a bar and i wanted to have in the background some generative random graphics and always above, i wanted to do something like having the bar's logo drawn with some perlin noise and shapes like i did here in the love series http://www.flickr.com/photos/brt-design/.

the problem is, if i mix the two they will overlap, and i wanted the "loveseries" type to kind of Float above as if we were talking about photoshop layers or something. Is this Possible
Re: making kind of layer effect
Reply #1 - Oct 5th, 2009, 11:15am
 
I assume both pieces are operating in 3d space, hence the overlap problem.  I could be totally wrong but can't you render output of the text process to an image rather than the screen and then overlay that onto the screen  I'm sure I've seen mention of that approach on the forums before...
Re: making kind of layer effect
Reply #2 - Oct 5th, 2009, 11:28am
 
not to an image but to PGraphics, you draw it offscreen and the simply put the Pgraphics like an image above the rest
http://processing.org/reference/PGraphics.html
Re: making kind of layer effect
Reply #3 - Oct 5th, 2009, 2:14pm
 
My link goes to createImage() which "creates a new PImage"; but you're right I should have been more precise Wink
Page Index Toggle Pages: 1