I'm loading animated meshes through MD2 format, and I've got problems with the normals. A picture will explain better than any words.
(If the link is not working, my computer is probably offline.. wait a few hours and try again
As you can see, the light is positioned just above the model, but its face is lighted ! Actually, it looks as the normals Z and Y are switched..
I saw on a very old topic that it has already been discussed, but no answer has been given.. I could fix the code, but I think if there was a problem, it would have been fixed already, but where is my actual problem coming from then? I'v tried a lot of things, to ensure that my file was not bad : exporting from Misfit3D (good alternative to MilkShape !), importing to and re-exporting from MilkShape, importing in Blender, and viewing with MD2 Viewer. The results are always clean, except when importing to irrlicht.. Has someone really tested MD2 format, and encountered such a problem ?
Thanks for answer









