Lens Flare Scene Node for Ya

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
CZestmyr
Posts: 72
Joined: Sat Feb 12, 2005 7:11 pm
Location: Czech Republic
Contact:

Lens Flare Scene Node for Ya

Post by CZestmyr »

Hi, I've created a lens flare scene node. If you want, you can take a look at it. Link to the file + demo project is in my signature. Any remarks, critics or praisings are welcome :wink:

The usage is fairly comprehensive. Just look at the demo project.
The XML file is not really a XML, in that it doesn't have a root element or doctype, but it doesn't really matter. Just follow this pattern for defining your own flares:

<flare texture="texture path" distance="position of the flare" />
Position < 0 => The flare will be behind the position of the light
Position = 0 => The flare will be at the position of the light source
Position > 0 && < 1 The flare will be somewhere between the light source and the centre of the screen
Position = 1 => The flare will reside always at the centre of the screen (I don't recommend this)
Position > 1 => The flare will be behind the centre of the screen

Image
This is my scene node in action
Bugfree is not a synonym to dumbass-resistant

My irrlicht files and tutorials
My music in mp3
Fernndo Alonso

Post by Fernndo Alonso »

Very very good , CZest , other time :-)

In this mount , the people is putting new things very good for irrlicht :

Path AI, flare, clouth, animation bones, ufff , i think this is the good way

I think the open architecture of irrlicht say what Niko is a great programmer and people like CZest too
Elise
Posts: 48
Joined: Tue Jul 19, 2005 6:30 am
Contact:

Post by Elise »

Great work, this looks really good! :)
Fernando Alonso

Post by Fernando Alonso »

Hi CZest, i have a suggestion for you, if you are lookinf for new ideas for a new project, you could do a "light scene node" for irrlicht named "light shaft" . It is very beautiful, it is in games like splinter cell, tomb raider,zelda and ICO

link : http://www.ati.com/developer/gdc/Mitche ... Shafts.pdf

I think you can do it :-) do you will think in it??
Post Reply