.x and .md2 file formats and dynamic lightning

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
eviral
Posts: 91
Joined: Mon Oct 25, 2004 10:25 am

.x and .md2 file formats and dynamic lightning

Post by eviral »

It seems that only .x and .md2 file formats can handle dynamic lighting in irrlicht ???

Is it right ? Is there others file formats that can handle that ???

.3ds files don't seem to be able to be lighted (dynamically) even with EMF_LIGHTNING set to true.

Eviral
don_Pedro
Posts: 84
Joined: Fri Jun 10, 2005 1:34 pm
Location: Poland
Contact:

Post by don_Pedro »

I think that it's true. It seems that Irrlicht just doesn't load normals from 3ds file.
bearSoft
Posts: 165
Joined: Fri Apr 01, 2005 9:55 pm
Location: Denmark

Post by bearSoft »

Code: Select all

3ds files don't seem to be able to be lighted (dynamically) even with EMF_LIGHTNING set to true. 
..but tut 08.SpecialFX are based on a .3ds room and there is lights and shadows -> ?
as i have understood it .3ds files cant be animated in irr, but the surely can have dynamic lighting.
-was that not what u meant?

interesting if

Code: Select all

	node->getMaterial(0).EmissiveColor.set(0,0,0,0);
is removed then the .3ds room is flat lighted (fullbright) and no effect is seen from the rotating light
Regards.
Tech: win98se| 320mb ram| abitbe6| 433mhzceleron| atiRadeon7000.64mb| soundblaster125| dx9.0b | devCPP | IRR 0.12.0 |
Post Reply