Click to See Complete Forum and Search --> : OpenGl Trouble


N-Chaos
03-13-2000, 01:47 PM
I have a little problem with OpenGl. I know how to make quads, i generally
use this to write a quad...

glBegin(GL_QUADS);
glVertex3f(1.0f,1.0f,1.0f);
etc....
etc....
etc....
glEnd();

I think its just me misundestanding the vertex system here. How do the graphs
plot. I thought I read counterclockwise at one point, but I really don't
know which way I want to place the vertex's.

Thanks

N-Choas

mike1010220
03-13-2000, 06:47 PM
Try this tutorial it should give you a good understanding on positioning,
its at a site called NEHE Productions, they have some other really great
OpenGL tuts there too.

http://nehe.gamedev.net/opengl.asp

"N-Chaos" <nate9862@aol.com> wrote:
>
>I have a little problem with OpenGl. I know how to make quads, i generally
>use this to write a quad...
>
>glBegin(GL_QUADS);
> glVertex3f(1.0f,1.0f,1.0f);
> etc....
> etc....
> etc....
>glEnd();
>
>I think its just me misundestanding the vertex system here. How do the graphs
>plot. I thought I read counterclockwise at one point, but I really don't
>know which way I want to place the vertex's.
>
>Thanks
>
>N-Choas