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
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..?
: