PDA

View Full Version : glOrtho quesiton..



goddessv2002
09-11-2005, 08:26 PM
I'm taking this graphics class and im having a hard time trying to understand the basics of glortho i know it sets the dimensions on the screen. I would like to see if i can get some examples that i can just implement on microsoft visual c++ just to see the difference between the coordinates and what not.

Thanks!

Vee :confused:

Hlz
09-11-2005, 08:53 PM
I think you'll get best understanding of it from just looking at the matrices, the math. This takes the mystery out of what's happening to your vertex. You can find the matrices that opengl uses for the ortho and perspective matrices at the end of the redbook. There are code examples too.
http://www.rush3d.com/reference/opengl-redbook-1.1/

Alexander Dong Back Kim
09-12-2005, 12:29 AM
I had the same questions with him...
Thanks mate :)