Forums > Jitter

primitives explained

January 28, 2009 | 3:53 pm

Hello,

I am looking for more info about algorithms which connect vertices: How the vertices are connected for each primitives available.

—————-Tut 40————
There are ten (10) different drawing primitives recognized by OpenGL and, as a result, by objects such as jit.gl.render and jit.gl.sketch.
They are points, lines, line_strip, line_loop, triangles, triangle_strip (abbreviated tri_strip), triangle_fan (abbreviated tri_fan), quads, quad_strip, and polygon.
These primitives each specify the algorithm by which a series of vertices will be connected.
Tutorial 37: Geometry Under the Hood
and
Table 2-2 and Figure 2-7 of the OpenGL "Redbook" give descriptions and examples of each and describe their common uses.
————————————————-

Unfortunately I can’t find the table 2-2 and 2-7 from RedBook.

Could anyone point me to the source or something.

thanks.


January 28, 2009 | 5:44 pm

here is one:

http://www.cs.uregina.ca/Links/class-info/405/WWW/Lab2/

-nesa


January 28, 2009 | 10:14 pm

Xellent! thanks nesa.


Viewing 3 posts - 1 through 3 (of 3 total)