(Copyright Philip Quaife April 2007)
The design of this widget is based on the Togl widget written by Brian Paul and Benjamin Bederson in 1996. Along with the Tclogl package by Paul Obermier in 2005 which wraps the GL API, allowing it to be called from within TCL. This widget allows full 3D rendering capability using a well known standard for graphics generation. Most modern computer systems have dedicated hardware for rendering 3D graphic primatives so that 3D graphics can be performed at the same speed as 2D. The API is designed to be 100% compatible with the Tk Canvas. This allows existing code to run unmodified as well as providing exentions that new code can use for added effects.
The API is a replica of the Tk Canvas widget. See the Tk documentation for a description of the Tk canvas widget.
The following man page describes the extensions to the GLCanvas widget.
A demonstration starkit Canvas2½d.kit is available to run under the tcl3dsh runtime available from tcl3d.org
The program that created the above screen shot is here