Reputation: 1292
I have developed an .obj importer, but there is a small little problem:
Now, I've tried to reverse the indices, and also reverse the normals. But none of them worked, reversing the normals went incredible wrong.
Do you guys have any suggestions of what might be wrong, what can i do?
Thank You
PS. The expected output, ignore the colors:
Upvotes: 0
Views: 532
Reputation: 8973
Could be coming from 3 different problems: 1/Face culling, try to create a rasterizer with D3D11_CULL_MODE to None, Front and Back and check if it makes a difference, also setting as wireframe might help for debugging.
2/Depth buffer might not be set properly
3/Problem with your importer, but would need to see the code for more help.
Upvotes: 1