Augustine
04-07-2009, 04:00 AM
Hi all,
We are into gaming & are developing our own game engine.
For unskinned meshes, the normals were exported & lighting works fine in our engine.
But, we are stuck in skinned meshes.
Currently for skinned meshes, I've exported the normals of the mesh at frame 0 in world space. For the other frames, I tried to multiply the normals by the bone's transformation. But this does not seems to work.
Please share any ideas and techniques to export & calculate normals.
Currently, we use 1-bone-per-vertex for slower mobile devices & 2-bones-per-vertex for nextgen mobiles & handheld consoles.
Thank you.
We are into gaming & are developing our own game engine.
For unskinned meshes, the normals were exported & lighting works fine in our engine.
But, we are stuck in skinned meshes.
Currently for skinned meshes, I've exported the normals of the mesh at frame 0 in world space. For the other frames, I tried to multiply the normals by the bone's transformation. But this does not seems to work.
Please share any ideas and techniques to export & calculate normals.
Currently, we use 1-bone-per-vertex for slower mobile devices & 2-bones-per-vertex for nextgen mobiles & handheld consoles.
Thank you.
