Reversed Axis Direction???

Hi

I'm modelling a landscape in openGL but the X axis appears to have been reversed. As far as I know the axes are supposed to be laid out like so (positive values):

Y Z
| /
|/
'----X

however, in my model, the X axis is reversed.


Any ideas why this has happened and how I can correct it?

Thanks!

edit: it has occurred to me that possibly it is the z axis that is reversed and my idea of the axes was wrong..?

Comments

  • Not necessarily true. Any axes can be x, y, z in 3D Computer graphics. I have worked with almost all system and each have their own crazy notion. Many prefer to have y and z swapped.

    If you are using 3DS Max to make the landscape then probably your y and z need to swapped and negate the swapped z value. Or you can just build forward, up and right vector on the basis of the axis of the landscape.


    : Hi
    :
    : I'm modelling a landscape in openGL but the X axis appears to have
    : been reversed. As far as I know the axes are supposed to be laid out
    : like so (positive values):
    :
    : Y Z
    : | /
    : |/
    : '----X
    :
    : however, in my model, the X axis is reversed.
    :
    :
    : Any ideas why this has happened and how I can correct it?
    :
    : Thanks!
    :
    : edit: it has occurred to me that possibly it is the z axis that is
    : reversed and my idea of the axes was wrong..?
    :
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion