Ladder

how can i define my ladder with open gl?
6 unite = 1meter ?
or 10 or 100?
thx

| how can i define my ladder with open gl?
| 6 unite = 1meter ?
| or 10 or 100?

That’s a little vague (I assume you’re trying to make a ladder for a
player to climb up or something), but just so you know…

The OpenGL units of measurement are “Units”. One unit = 1 unit. They
don’t correspond to pixels, CM, inches, miles, light-years, or anything
else.

Very confusing at first, but then you realise it’s meaningless to try
and assign them proper units anyway. If I draw a cube that’s 64x64x64
and place it 10 units away from me, it will look twice as big as the
same cube placed 20 units away from me.

What I’d do is (assuming this is some sort of 3d first-person type
game) work out how “big” the player is (you have to set his/her eyes at
a certain height, unless they crawl along the floor) and then make
everything look “right” based on that - I.e if your person’s eyes are
64 units up from 0, make things like doorways 72 units high, etc. A
typical 2m ladder would then be roughly twice the “height” of your
player, and a house would be about 5-6 player heights to the roof.On Sun, Apr 07, 2002 at 04:47:23PM -0400, IronRaph at aol.com wrote:


I will never win an emmy

6AD6 865A BF6E 76BB 1FC2 | www.piku.org.uk/public-key.asc
E4C4 DEEA 7D08 D511 E149 | www.piku.org.uk wnzrf at cvxh.bet.hx (rot13’d)

ok thanks :slight_smile: