Re: standard opengl z axis reversed in hopengl ?

Sven Panne <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.