Texture Coordinates

Started by
1 comment, last by GreenToad 19 years, 5 months ago
I'm writing an .x file parser for OpenGL, and I've encountered a problem when reading the texture coordinates. Somewhere I recall reading that DirectX and OpenGL set up their texture coordinates differently. I know OpenGL's texture coordinates are set up like this:
0,1-----1,1
 |       |
 |       |
0,0-----1,0
I'm wondering how DirectX's coordinates are set up. I've searched google and gamedev, but I can't find anything. Any help is much appreciated.
Advertisement
DirectX is set up as this :

0,0----------1,0|              ||              ||              |0,1----------1,1


Best regards,
Metron
----------------------------------------http://www.sidema.be----------------------------------------
Thanks! Just what I needed to know.

This topic is closed to new replies.

Advertisement