tclGL is a Tcl interface library to allow easy access to OpenGl functions using Tcl commands. Most of the code is generated using a Tcl script and parsing GL/gl.h include file. There are hash tables used internally to allow to use the string versions of the define names as parameters and these can also get back if asking for state variables.
This is work in progress by apw. More to be found here later on.