DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: OpenGl Trouble

  1. #1
    N-Chaos Guest

    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

  2. #2
    mike1010220 Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center