XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

Small cube map question

Last post 11/10/2009 1:50 AM by fr3shme4t. 1 replies.
  • 11/9/2009 11:52 PM

    Small cube map question

    I am using CubeMapGen to create my Cube map.  Just one quick, very silly question, which I cant get right.  In this program, I have to set the textures for the sides x+, x-, y+, y-, z+, z-. What do these relate to when dealing with english words, top, bottom, left, right, front and back?
    I was thinking x+ = top, x- = bottom, nothing I do seems correct though.
    Any advise appreciated.
  • 11/10/2009 1:50 AM In reply to

    Re: Small cube map question

    Well the answer really depends on how you use your cubemap and the projected space of your game. They don't really map to English words...

    However, with XNA, normally +Y is up, -Y is down, +X is right, -X is left, -Z would be front and +Z is back.
    That's assuming you're using the default XNA matrices and such which I believe are right handed.

Page 1 of 1 (2 items) Previous Next