Tcl3D Logo
Overview
Currently selected Documentation
Getting started
Modules
Resources
Tcl3D reference
OpenGL
OpenSceneGraph
rtVis explained
Applications
Demos
Downloads
History
Contact
EuroTcl
Valid XHTML 1.0 Transitional

Documentation - OpenSceneGraph wrapper tcl3dOsg

The OpenSceneGraph is an OpenSource, cross-platform graphics toolkit for the development of high-performance graphics applications such as flight simulators, games, virtual reality and scientific visualization.

It is based around the concept of a SceneGraph, providing an object-oriented framework on top of OpenGL. This frees the developer from implementing and optimizing low-level graphics calls and provides many additional utilities for rapid development of graphics applications.

Written entirely in Standard C++ and OpenGL it runs on all Windows platforms, OSX, GNU/Linux, IRIX, Solaris, HP-Ux, AIX and FreeBSD operating systems.

The official OpenSceneGraph homepage is at http://www.openscenegraph.org

A good introduction to OSG is the Quick Start Guide

The Tcl wrapper currently supports the following features:

  • Based on the current stable OpenSceneGraph version 2.8.2, released on 28th July 2009.
  • Compiled and tested with Windows XP, Linux (32 and 64 bit), Mac OSX 10.4.
  • Two possibilities for displaying 3D content: osg::Viewer or Togl widget.
  • Tcl callback functions possible for NodeVisitors and NodeCallbacks.
  • See my talk at TclEurope 2009 for more information.

Examples

Cessna in osgviewerTk

This screenshot shows the OSG model cessnafire.osg in the Tk based OpenSceneGraph viewer osgviewerTk.tcl.
Besides the 3D view the viewer adds a hierachy tree and some information windows.

Top of page

Boston database in osgviewerTk

This screenshot shows the OpenFlight model of the city of Boston with the OSG statistics display switched on.
Database example from TrianGraphics.

Top of page