[HOpenGL] standard opengl z axis reversed in hopengl ?

Sven Panne Sven.Panne at aedion.de
Wed Mar 8 09:15:16 EST 2006


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.


More information about the HOpenGL mailing list