This module's purpose is to enable porting IrisGL's lmdef() and lmbind() calls to OpenGL.
Directories igl and ogl contain the IrisGL and OpenGL versions of the same (simple lighting) program. Both programs use the same sequence of lmdef() and lmbind() calls.
For igl, these are native GL calls whereas for ogl, these are defined locally in the wrapper layer.
ogl/lmwrap.h and ogl/lmwrap.c comprises of the wrapper layer for lighting calls.
The ogl/lmOGL and igl/lmIGL programs display how to this layer for produces the same results.
Notes:
Yusuf Attarwala yusuf@sgi.com April, 1995