Fargo,
> Anyone see what I'm doing wrong? I tried a couple other shapes with
> similar results.
You're not doing anything wrong that I can see. OpenGL is drawing what you
are telling it to. GL_LINE_LOOP and GL_POLYGON are drawing mode parameters,
try GL_QUADS and see what it draws. A polygon is a convex geometry
structure, so you are seeing its best guess of the data.
GL_LINE_LOOP
Draws a connected group of line segments from the first vertex to the last,
then back to the first. Vertices n and n+1 define line n. The last line,
however, is defined by vertices N and 1. N lines are drawn.
GL_POLYGON
Draws a single, convex polygon. Vertices 1 through N define this polygon.
--
Thomas C.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|