GRAUX Ludovic (LUDOVIC.GRAUX++at++siege.aerospatiale.fr)
Fri, 2 Aug 1996 11:00:27 +0200
I would like to make a kind of halo around an object.
Example : a buddha in the lotus position, being in such an harmony with the
around Nature that a kind of golden halo is emanating all around the image of
his body on the screen.
The idea I have is to process a 2D filter on the screen-projected image of
the buddha. I need to pop only the image of my haloed object, with nothing
(all black / or alpha = 0) around, and to process this image by the 2D "Halo"
filter, before pushing it back into the frame buffer.
I guess all this stuff is to be done in the buddha node draw callback,
whether pre-draw or post-draw I don't know, with a great bulk of GL commands.
Does any of you performers have ever made this before (I am sure you have) ?
Do you have an available fragment of code that is pushing/popping the
object's projected 2D image, letting the user (me) be able to process this
image ?
Do you also have some C/C++ utilities for simple 2D image processing ?
I have absoilutly no experience of GL programming ; I have always relied on
the Performer layer. I am feeling like Performer will not be enough for the
halo.
Thanks in advance for your precious help...
Michael Boccara
Spacecraft simulation developper.
Aerospatiale
Suresnes (92), France
Tel : +33 1 46 97 30 02
===================================List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:18 PDT