The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

OpenGL example

DESCRIPTION

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 .