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 › Glowing effect
Page Index Toggle Pages: 1
Glowing effect? (Read 980 times)
Glowing effect?
Mar 6th, 2008, 2:02am
 
I really want to understand how to make something (let's say a sphere) glow diffusely, ideally blending with other spheres. The eventual goal is to have them glow brighter / dimmer in time with music.

Problem is, I have no idea how to do this Smiley The following link has a great representation of what I am after, can anyone help me out? I understand that noise is involved, but the code was not documented at all, so the interesting stuff is meaningless to me.

http://www.ghostagency.net/processing/glow/
Re: Glowing effect?
Reply #1 - Mar 6th, 2008, 9:25am
 
If it works how I suspect, each sphere is actually just an image with an alpha channel, and they're blended together.
Re: Glowing effect?
Reply #2 - Mar 6th, 2008, 10:21am
 
If I understand what it is you're trying to do, I had the same question when I first dived into Processing and managed to produce something similiar using simple textures and additive blending.
Check out this link - http://www.flight404.com/blog/?p=71 - it provides a nice starting place. Otherwise, drop me an email and I can send you some working code / texture examples.

secretdark (at) gmail

r
Page Index Toggle Pages: 1