Version 11 of Tcl3D

Updated 2006-02-10 00:16:09 by DAS

Paul Obermeier 2006/01/15

Tcl3D offers the 3D functionality of OpenGL and other 3D libraries at the Tcl scripting level.

This is accomplished by wrapping these libraries with the help of SWIG.

Tcl3D was previously called tclogl.

The new version Tcl3D 0.2 adds wrapping support for the following 3D related libraries:

  • OpenGL Version 2.0
  • Lots of OpenGL extensions
  • NVidia's Cg shader library
  • SDL (Simple DirectMedia Library)
  • 4 gauge widgets
  • enhanced utility library

More info and images can be found at http://www.tcl3d.org


ramsan: I have been looking at the package (maybe not too deeply), and I did not find any reference to fonts and text. Does the package have any ability to define which fonts to use, font size, print text, encodings and international characters and get sizes info (the width and height that needs a given text in the screen)?


PO 2006/01/16 The Togl widget has built-in support for bitmap fonts, but Togl had problems displaying fonts on Windows, because it relied on Tk internal structures. I'm currently fixing this. A bug-fix release will hopefully be available next weekend. Here is a snapshot of my font test (and selection) tool.

RT 2006/01/16 - I see your font test shows anti-alias for Tk but not for Togl/tcl3d. Will anti-alias be caller-controlled in tcl3d?

http://www.tcl3d.org/demos/misc/tcl3dFont.png


I (ChrisL) am trying to get tcl3d built on OS X, but am out of my depth. I've downloaded and built swig in preparation, and made what I believe to be sensible edits to config_Darwin, but now I'm stuck. Has anybody successfully built tcl3d on a Mac?

DAS - I have made binaries for Mac OS X Tiger and a diff of OS X changes available at [L1 ] (note that while the tcl3dSDL binary is statically linked with SDL, the tcl3dCg binary requires Cg.framework from nvidia to be installed).

Most of the demos that I tried work ok, except for a few that use features that my old nvidia 4mx card does not support; it would be useful to have some testing by folks with macs with more modern graphics cards...

An older patch for the original tclogl 0.1 is also still available at that same location, along with binaries for Mac OS X Panther of tclogl and of the enhanced Togl 1.7 (which builds out of the box on OS X]).


[ Category Graphics | Category 3D Graphics ]