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.
xterminhate
Posts: 206 Joined: Thu Sep 01, 2005 9:26 pm
Location: France
Post
by xterminhate » Sun Dec 18, 2005 6:41 pm
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 » Sun Dec 18, 2005 11:49 pm
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 » Mon Dec 19, 2005 1:14 am
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 » Wed Dec 28, 2005 7:58 am
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 » Wed Dec 28, 2005 6:17 pm
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