
hi, I thought the z axis increases towards the user. but translate (Vector3 (-0.2) (-0.2) (-0.2::GLfloat)) translates a bit towards the left, down and *the user*. Is it the standard opengl behavior ? thank you, vo minh thu

Am Mittwoch, 8. März 2006 14:29 schrieb minh thu:
I thought the z axis increases towards the user. but
translate (Vector3 (-0.2) (-0.2) (-0.2::GLfloat))
translates a bit towards the left, down and *the user*.
Is it the standard opengl behavior ?
HOpenGL does nothing special here, what you experience is standard OpenGL behaviour. Having a look at chapter 3 of the famous Red Book might help you to see what's going on, especially the section "Viewing and Modeling Transformations": http://www.rush3d.com/reference/opengl-redbook-1.1/chapter03.html Cheers, S.
participants (2)
-
minh thu
-
Sven Panne