README file from "adv_lighting" directory
------------------------------------- ~opengl1/examples/adv_lighting README Copyright 1991-1996, Silicon Graphics, Inc. Technical Education Development All Rights Reserved. indexLighting.c - demonstrates lighting in color index mode. <l> key - toggle LIGHT0 on / off Escape key - e lightPosition.c - demonstrate how to set up a light that moves with the eye, or stays fixed in the scene. Left Mousebutton - move eye position Middle Mousebutton - change twist angle Right Mousebutton - move up / down to zoom in / out <l> Key - toggle light binding Escape key - exit the program movingLight.c - Set up a light that moves independently from the objects in the scene. Left Mousebutton - move eye position Middle Mousebutton - change twist angle Right Mousebutton - move up / down to zoom in / out <a> key - toggle light animation Escape key - exit the program spotLight.c - spotlight shining on a stack of flat grids Left Mousebutton - move eye position <d> key - toggle depth buffering <s> key - toggle flat/smooth grid <R> Key - reset viewpoint Escape key - exit the program twoSide.c - demonstrate two-sided lighting, back material properties, and the ambient light model. <l> Key - toggle LIGHT0 on/off Escape key - exit the program
Source
Documentation
Reference