Cube images face orientation

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
User avatar
sparkprime
Ogre Magi
Posts: 1137
Joined: Mon May 07, 2007 3:43 am
Location: Ossining, New York
x 13

Cube images face orientation

Post by sparkprime »

http://www.ogre3d.org/docs/api/html/cla ... da1e079c1a

This documentation gives the face ordering, but doesn't say what the faces are. I need to know:

* whether it's +X, -X, +Y, -Y, +Z, or -Z
* for each face, what u,v in the texture correspond to (its rotation / flip, in other words).

This is some similar documentation for d3d9. Is it the same?

http://msdn.microsoft.com/en-us/library ... p/bb204881