Changes between Version 6 and Version 7 of tutorial


Ignore:
Timestamp:
Jun 26, 2013, 11:24:17 PM (6 years ago)
Author:
leon
Comment:

background

Legend:

Unmodified
Added
Removed
Modified
  • tutorial

    v6 v7  
    100100}}}
    101101 and try to draw two wireframe triangles in a loop. Change primitive to {{{GL_LINE_LOOP}}}.
    102  3. Draw two primitives with {{{GL_TRIANGLES}}}.
     102 3. Draw two primitives with {{{GL_TRIANGLES}}}. [[Image(ex1-5.png, right)]]
    103103 4. Add different color to each vertex.
    104104{{{
     
    117117}}}
    118118 How can we add color to vertices? See [http://www.opengl.org/sdk/docs/man2/xhtml/glColorPointer.xml glColorPointer] and [http://www.opengl.org/sdk/docs/man2/xhtml/glEnableClientState.xml glEnableClientState].
     119 6. Change background to {{{glClearColor(0.9,1,1,1.0);}}}