i'm a very-very beginning OpenGl programmer.
And for making up first serious ( even somehow) programmes, i'd like to understand the basics.
I competely do NOT understand how function [b]GluPerspective[/b] works. I mean, i know its usage in theory but i still can't use it the way it works as i need to.
For instance, i have a cobe centered in (0,0,0), its heigth is 0.6. (so it crosses all the axes in points 0.3,-0.3).
How should I call [b]GluPerspective[/b] to see the edges of the cube ( some of them in fron of the viewer)???
And i do NOT understand the location of the viewer, i mean, the place i stand to see the scene ???
Can anybody explane me , please?
it's really urgent
0 · ·