Sample OpenGL code
From SurfLab
Contents |
[edit]
Sample OpenGL Code
[edit]
hello.c
This is a simple, introductory OpenGL program.
[edit]
prim.c
All the OpenGL primitives all in a row.
[edit]
bezcurve.c
This program uses evaluators to draw a Bezier curve.
[edit]
nurb.c
Simple nurb (non-uniform rational b-spline) program.
[edit]
dobule.c
This is a simple double buffered program. Pressing the left mouse button rotates the rectangle. Pressing the middle mouse button stops the rotation.
[edit]
wave.c
Neat wave program with some contouring options (press 'c').
For more information about OpenGL programming, see OpenGL.org.
