Ian wrote:Should probably add, there is a flag in the header that apparently defines the winding
I've tried to use that bit in place of "dotProd":
- Code: Select all
clockWise = dotProd >= 0;
And it worsened things, but it was just a quick try and I didn't spent much time in that... could be a start.
Ian wrote:When you say flipped, you flipped the winding? So maybe seeing the back face instead?
No, I meant the "slope orientation" of the inner edge of the quad like this:

- edge.png (20.76 KiB) Viewed 7308 times
UPDATE:
to simplify the concept and in reference to the pic above: I've changed the vertex order for the first triangle from 0-1-3 to 0-1-2, and the complementary one accordingly.