Version 1 of Scripting with Tcl for computer graphics animation

Updated 2006-09-19 17:47:48

Page by Theo Verelst

The type of language Tcl is obviously most reknowned for to be is 'scripting language' which calls for a comparison with a movie script. Of course that is no coincidence, so let's start small but good with a simple script to govern a computer graphics animation.

Without intent to affiliate with NVidia in this space, recently their Gelato language has been made freely available to run high quality rendering on computers with a recent graphics card of theirs (I think 6200+, though that cheap one is not very well compatible), which comes with a python and C interface.

Being used to Tcl since at least '94 or so, and not liking python very much, I though I´d try what the possibilities and penalties (calling of the interpreter and running a program all the time) of using Tcl for certain rendering calls would be, so I made a very small starting script to rotate the famous teapot in a gelato-rendered scene by a small tcl script run under tclsh from a Cygwin prompt: