-
-
Notifications
You must be signed in to change notification settings - Fork 35.9k
Description
I'm attempting to load a complex rigged model, and finding that some parts of the geometry appear to have flipped normals, as you can see here:
However, the normals on the flipped parts of the geometry are actually correct, and neither inverting them nor applying double sided material fixes the issue. Aside from this, I checked the model in Windows Paint3D and it loads correctly.
So, I isolated the two feet, and then took a single polygon from each, scaled them and rotated them to match and positioned them both at (0,0,0). At this point the only difference I can see in my modelling program are the pivots being oriented differently. But when I load them with the FBXLoader, I get this:
Polygon from left foot, displays correctly and is affected by lights
Polygon from right foot, has the same material, position, scaling, orientation etc but displays dark grey and is not affected by lights
The two FBX files, one polygon from each foot, are here
foot pieces.zip
And running them through a diff checker, the only important difference I can see is the line:
Left foot (correct)
P: "Lcl Scaling", "Lcl Scaling", "", "A",1.00000095367432,0.999999701976776,1.00000035762787
Right foot (incorrect)
P: "Lcl Scaling", "Lcl Scaling", "", "A",-1.00000107288361,-0.999999761581421,-1.00000035762787
Sure enough, removing the minus signs from this line causes the model to load correctly.