++ed by:

1 non-PAUSE user.

Dmitry Karasik


OpenGL example


The program demonstrates the use of the OpenGL lighting model. A icosahedron is drawn using a grey material characteristic. A single light source illuminates the object. Example adapted from light.c.

The original example code can be found in OpenGL distribution in examples/light.pl .