Texture coordinate in CStaticMeshOBJ.cpp
Posted: Fri Dec 30, 2005 2:25 am
I was looking at CStaticMeshOBJ when I noticed this (line 195)
Notice the negation operator. Is it suppose to be there?
With the .obj model I'm using to test, it looks wrong, but after removing the negation operator, the model looks correct.
Code: Select all
v.TCoords.Y = -textureCoordBuffer[ facePoints[i][1]-1].Y;
With the .obj model I'm using to test, it looks wrong, but after removing the negation operator, the model looks correct.