Re: [osg-users] Ideas for glow effects on 3D objects

2009-05-15 Thread dimi christop

Or you could just use a billboard glow texture, disable depth sorting and 
testing and render the glowing billboard last on top of everything else.
This is the way we used to do it when we had no shaders and post processing

Dimi



- Original Message 
From: Art Tevs arti_t...@yahoo.de
To: osg-users@lists.openscenegraph.org
Sent: Friday, May 15, 2009 1:05:11 AM
Subject: Re: [osg-users] Ideas for glow effects on 3D objects

Hi Paul,

as other Paul said, take a look into osgPPU. There I have an example showing 
exactly what you need. The example is simple and very easy to understand. You 
can take this as a starting point and then change it for your needs.


Cheers,
Art

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12159#12159





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



  
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Ideas for glow effects on 3D objects

2009-05-15 Thread Chris 'Xenon' Hanson
dimi christop wrote:
 Or you could just use a billboard glow texture, disable depth sorting and 
 testing and render the glowing billboard last on top of everything else.
 This is the way we used to do it when we had no shaders and post 
 processing

  Yep. Works great with blend mode set to add, so it appears luminous.

  Less plumbing and book-keeping than shaders.

 Dimi


-- 
Chris 'Xenon' Hanson, omo sanza lettere  Xenon AlphaPixel.com
PixelSense Landsat processing now available! http://www.alphapixel.com/demos/
There is no Truth. There is only Perception. To Perceive is to Exist. - Xen

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Ideas for glow effects on 3D objects

2009-05-14 Thread Paul Martz
Hi Paul -- The too many gpu cycles requirement is a little vague. I assume
as long as you still hit 60Hz, then any algorithm is fair game.

You could use MRT (multiple render targets) in a shader to create both a
normal image and a glow map, then do some kind of osgPPU-like post
processing to apply a Gaussian blur to the glow map along the lines of what
is described in GPU Gems. Then merge the normal image and blurred glow map
in a final render pass. A client of mine implemented something like this not
too long ago based on some small examples I wrote for them, and the visual
effect is quite nice.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul
Griffiths
Sent: Thursday, May 14, 2009 2:20 PM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] Ideas for glow effects on 3D objects

Hi,

Im creating a music application, below is a screenshot, im after a glow
effect for my enabled buttons. does anyone have any ideas?

Anything goes just don't want to use up too many gpu cycles though.

[Image: http://img401.imageshack.us/img401/8212/pichbu.jpg ]

... 

Thank you!

Cheers,
PaulG

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12150#12150





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Ideas for glow effects on 3D objects

2009-05-14 Thread Poirier, Guillaume
Hi Paul,
 
I would suggest that you check the nvidia shader library where there are many 
glow effects. Usually it is done in screen space with some blur and additive 
colouring. 
 
http://developer.download.nvidia.com/shaderlibrary/webpages/shader_library.html
 
bill



From: osg-users-boun...@lists.openscenegraph.org on behalf of Paul Griffiths
Sent: Thu 5/14/2009 4:19 PM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] Ideas for glow effects on 3D objects



Hi,

Im creating a music application, below is a screenshot, im after a glow effect 
for my enabled buttons. does anyone have any ideas?

Anything goes just don't want to use up too many gpu cycles though.

[Image: http://img401.imageshack.us/img401/8212/pichbu.jpg ]

...

Thank you!

Cheers,
PaulG

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12150#12150





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


winmail.dat___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Ideas for glow effects on 3D objects

2009-05-14 Thread Art Tevs
Hi Paul,

as other Paul said, take a look into osgPPU. There I have an example showing 
exactly what you need. The example is simple and very easy to understand. You 
can take this as a starting point and then change it for your needs.


Cheers,
Art

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12159#12159





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org