Hey, I've just ran the gen normals post process, and it's returned me some non-normal normals (of all things!). I had a quick look to see if I could spot why, and I believe the bug may be on line 132 of GenFaceNormalsProcess.cpp:
aiVector3D vNor = (*pV2 - *pV1) ^ (*pV3 - *pV1).Normalize();
Should that line not be:
aiVector3D vNor = (*pV2 - *pV1).Normalize() ^ (*pV3 - *pV1).Normalize();
Cheers,
Should be fixed now ..
Thanks for reporting! - Alex
Log in to post a comment.
Hey, I've just ran the gen normals post process, and it's returned me some non-normal normals (of all things!). I had a quick look to see if I could spot why, and I believe the bug may be on line 132 of GenFaceNormalsProcess.cpp:
aiVector3D vNor = (*pV2 - *pV1) ^ (*pV3 - *pV1).Normalize();
Should that line not be:
aiVector3D vNor = (*pV2 - *pV1).Normalize() ^ (*pV3 - *pV1).Normalize();
Cheers,
Should be fixed now ..
Thanks for reporting!
- Alex