Page 1 of 1

All models load in with reversed normals

Posted: Sat Dec 14, 2019 8:05 pm
by swaelo
This has been true with v1 and v2 of the bepu physics engine, whenever I export models as .obj from blender and then load them into the bepu physics engine, all the normals are reversed.
The only way I've ever been able to solve this is to reverse all the normals before I export the model from blender, so when bepu flips them they get put back to normal.
I know its bepu that is flipping the normals because they appear correct in Blender before I export the model, and I can load the obj file into unity or something else and they still appear fine.

Re: All models load in with reversed normals

Posted: Sat Dec 14, 2019 8:31 pm
by Norbo
Is it actually flipping the winding, or are the demos just using a different backface convention? Triangles in v2 are one sided and collide only on the clockwise side. The demos renderer matches this convention.