-
OpenGl Trouble
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
-
Re: OpenGl Trouble
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|