Quick question

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Fraza
Posts: 113
Joined: Sat Feb 26, 2005 11:28 am
Location: Leeds

Quick question

Post 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
after-life
Posts: 69
Joined: Wed Mar 30, 2005 8:16 am
Location: Keerbergen, Belgium

Post by after-life »

I'm not sure but i think it is like this:
Y Z
^ ^
\ |
°-->X

Z = height i think
Chris
Posts: 18
Joined: Wed Jan 26, 2005 11:17 pm
Location: England
Contact:

Post 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.
Fraza
Posts: 113
Joined: Sat Feb 26, 2005 11:28 am
Location: Leeds

Post 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*
Last edited by Fraza on Tue Apr 05, 2005 9:35 pm, edited 1 time in total.
Chris
Posts: 18
Joined: Wed Jan 26, 2005 11:17 pm
Location: England
Contact:

Post by Chris »

Either way of looking at it, I'm glad I helped clear it up. Although your ASCII image does look nicer.
jox
Bug Slayer
Posts: 726
Joined: Thu Apr 22, 2004 6:55 pm
Location: Germany

Post 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 ;) )
It is like it is. And because it is like it is, things are like they are.
Post Reply