flickering lights

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
IllegalEnzyme
Posts: 23
Joined: Wed Jun 09, 2004 8:51 am
Location: i'm lost, help me!

flickering lights

Post by IllegalEnzyme »

hi, i have a room in which there are several flaming torches made using the particle system, i was wondering if there is a way to light the room from these torches and have the light flicker etc.

Thanx
Signatures suck cos i can never think wot to write!
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

you'll need to set your level's EMF_LIGHTING flag to true and add some dynamic colored lights for that. 2 probleems cross my mind:

1. dunno if they han be flickering animated (to resemble torches)
2. I read somewhere there's a count limint for them (maximum 6 or 8 )

finally, it will demmand a lot of hradwaree to run
IllegalEnzyme
Posts: 23
Joined: Wed Jun 09, 2004 8:51 am
Location: i'm lost, help me!

Post by IllegalEnzyme »

i've added the lights and setup the model to use lighting i was just asking if i could make them flicker, i wondered about placing the light insde the particle field, and then setting the particles to cast shadows, the constantly moving particles should create the effect i'm after but i'm not sure how to do it or if its even possible.
Signatures suck cos i can never think wot to write!
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

you definately dont want to do it that way. what you want is stencil shadows and a bunch of other things irrlicht doesnt really have yet.

im thinking the best you're going to get is a dynamic light that you can turn on/off and maybe change the luminescense on.
a screen cap is worth 0x100000 DWORDS
IllegalEnzyme
Posts: 23
Joined: Wed Jun 09, 2004 8:51 am
Location: i'm lost, help me!

Post by IllegalEnzyme »

ok i'll give that a try but if anyone has any other ideas then tell me.
Signatures suck cos i can never think wot to write!
Post Reply