Pages

Subscribe:

Open GL : Geometric Primitive Names and Meanings


Geometric Primitive Names and Meanings
Value
Meaning
  • GL_POINTS

Individual points
  • GL_LINES
Pairs of vertices interpreted as individual line segments
  • GL_LINE_STRIP

Series of connected line segments
  • GL_LINE_LOOP

Same as above, with a segment added between last and first vertices
  • GL_TRIANGLES

Triples of vertices interpreted as triangles
  • GL_TRIANGLE_STRIP

Linked strip of triangles
  • GL_TRIANGLE_FAN

Linked fan of triangles
  • GL_QUADS

Quadruples of vertices interpreted as four-sided polygons
  • GL_QUAD_STRIP

Linked strip of quadrilaterals
  • GL_POLYGON

Boundary of a simple, convex polygon






void glTranslatef ( GLfloat x,   GLfloat y,   GLfloat z )PARAMETERS x, y, z
 Specify the x, y, and z coordinates of a translation vector.

DESCRIPTION:
 glTranslate produces a translation by (x,y,z).  The current matrix (seeglMatrixMode)  is multiplied by this translation matrix, with the product replacing the current matrix, as if glMultMatrix were  called  with
 the following matrix for its argument:

                                       1 0 0 x
                                       0 1 0 y
                                       0 0 1 z
                                       0 0 0 1





comments powered by Disqus
 

Listed In

Bloggers - Meet Millions of Bloggers http://Link-exchange.comxa.com
Blog Search: The Source for Blogs Internet Blogs

Disclaimer

The contents in this blog are taken from various sources available over the internet, therefore we do not gurantee of it's accuracy, if you find any of the content in the blog is infringing it's copyright, please do email us on '123techguide@gmail.com' and we will make sure to remove the same from the blog at the earliest.