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.
Fraza
Posts: 113 Joined: Sat Feb 26, 2005 11:28 am
Location: Leeds
Post
by Fraza » Tue Apr 05, 2005 4:56 pm
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
after-life
Posts: 69 Joined: Wed Mar 30, 2005 8:16 am
Location: Keerbergen, Belgium
Post
by after-life » Tue Apr 05, 2005 5:24 pm
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 » Tue Apr 05, 2005 5:52 pm
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 » Tue Apr 05, 2005 5:53 pm
You're right, Z is depth.
I preffer to think of it as:
I don't like people poking my nose
*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 » Tue Apr 05, 2005 6:06 pm
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 » Tue Apr 05, 2005 9:30 pm
Fraza wrote: You're right, Z is depth.
I preffer to think of it as:
I don't like people poking my nose
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.