Page 1 of 1

Quick question

Posted: Tue Apr 05, 2005 4:56 pm
by Fraza
In Irrlicht, is the Y or the Z axis height?

persumabley X is breadth, I personally would have guessed Z was depth.

and surely all 3D positions will be declared X, Y, Z.

So could someone tell me which way around it is please?

Thanks :D

Posted: Tue Apr 05, 2005 5:24 pm
by after-life
I'm not sure but i think it is like this:
Y Z
^ ^
\ |
°-->X

Z = height i think

Posted: Tue Apr 05, 2005 5:52 pm
by Chris
Your correct in saying that z is depth.

If you get confused, just look at it like this, your monitor is a standard 2D graph with x along it's width and y along it's height, then you've got z which can't be draw but is currently poking you in the nose.

Posted: Tue Apr 05, 2005 5:53 pm
by Fraza
You're right, Z is depth.

I preffer to think of it as:

Code: Select all

    Y   Z
    |  /
    | /
    |/
    0--------X
I don't like people poking my nose :evil:

*whistles*

Posted: Tue Apr 05, 2005 6:06 pm
by Chris
Either way of looking at it, I'm glad I helped clear it up. Although your ASCII image does look nicer.

Posted: Tue Apr 05, 2005 9:30 pm
by jox
Fraza wrote:You're right, Z is depth.

I preffer to think of it as:

Code: Select all

    Y
    |
    |
    |
    0--------X
   /
  /
 /
Z
I don't like people poking my nose :evil:
That is a right handed system. Irrlicht uses a left handed system. That means the Z axis should point to the back, not to the front. But the Y axis points up, that's correct.

(Z is thus not poking your nose ;) )