Dynamic light problem

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
xterminhate
Posts: 206
Joined: Thu Sep 01, 2005 9:26 pm
Location: France

Dynamic light problem

Post by xterminhate »

In the scene, I have a dynamic light, an animated mesh node and a mesh node. EMF_LIGHTING flag is set for all nodes.

The mesh node is correctly lightned.

The light is placed on the right side of the animated mesh node. But the animated mesh node is bright on the left side and dark on the right side..... This probleme has something to do with node position and rotation changes ?

K.R.
Xterminhate.
xterminhate
Posts: 206
Joined: Thu Sep 01, 2005 9:26 pm
Location: France

Post by xterminhate »

I think that the problem comes from my mesh. Btw, its import format is directX.
krama757
Posts: 451
Joined: Sun Nov 06, 2005 12:07 am

Post by krama757 »

Are the normals set incorrectly? You might want to reset the normls before you export.
AndreOdendaal
Posts: 16
Joined: Tue Dec 27, 2005 10:13 am
Location: Johannesburg, South Africa

Post by AndreOdendaal »

How do you reset the normals cause I'm having the same problem?
xterminhate
Posts: 206
Joined: Thu Sep 01, 2005 9:26 pm
Location: France

Post by xterminhate »

The same model imported in .3ds file format works well with dynamic light.
Return to Irrlicht after years... I'm lovin it.
It's hard to be a Man !
Si vis pacem para belum
Post Reply