WJG (22/05/09) Ok, at the time of writing this module is far from complete but, just to keep the interest in Gnocl rolling along I thought that I'd add a screen shot of the bare bones of the package at work. Anyone interested in OpenGL is most welcome to pass on their advice on how best to tackle the task of fully implementing this complex widget. It would be interesting to see, however, what the Gtk development team are 'secretly' working on as I believe that Gtk 3+ will have native support for OpenGL rendering.

Here's the grab,

And here's the test script.

# OpenGLTEST.tcl
# Author:   William J Giddings
# Date:     15/05/09
# the next line restarts using tclsh \
exec tclsh "$0" "$@"

package require Gnocl
package require GnoclOpenGL

set ogl1 [gnocl::OpenGL]

set box [gnocl::box]
$box add $ogl1 -fill {1 1} -expand 1

# must specify minium height for the window
gnocl::window -child $box -title "gnocl::OpenGL" -widthRequest 200 -heightRequest 200