Python Computer Graphics Kit


The following users have used CGKit for their work:

At the NASA Goddard Space Flight Center Scientific Visualization Studio, Dr. William T. Bridgman has used Python and cgkit for the production of various scientific visualizations like the ones on this page or some of the movies in this NASA press release.

The creation of such animations involves the transformation of the original data, often using IDL, into a form that the Visualization Toolkit (VTK) can use. Python and VTK are then used to extract meshes and isosurfaces into archive RIB files. A custom Python framework manages each dataset such as radiation belt intensities, magnetic field lines, etc. and controls their initialization, time stepping and RIB generation (where cgkit is used). Eventually, the animation is rendered using Pixar's RenderMan.

Tweak Films has used cgkit during the production of various commercials and visual effects for movies such as The Return of the King, The Day After Tomorrow, The Matrix II & III.

"We use cgtypes in our render pipeline since it's written entirely in Python. The pipeline generates rib files. The geometry, cameras, and lights are stored in GTO files which are read by the RiGTO RenderMan plugin. cgtypes is used throughout to represent matrices, vectors, quats, etc in Python. So for example, you can create a render pass with a camera transform that is a cgtypes.mat4." [Jim Hourihan]

At the Intelligent Sensor-Actuator-Systems Laboratory at the Universität Karlsruhe (TH), cgkit was used as the graphics backend for a virtual-reality version of the well-known game pacman.
Player motion within a user environment is tracked with a tracking system combining acoustic and inertial sensors. The use of "Motion Compression" allows unlimited motion within a large virtual world without resorting to scaling. The virtual world is rendered by the cgkit OpenGL viewer and shown on a high-resolution head-mounted display.
The game was written by Jens Kübler, Jan Wassenberg and Lutz Winkler under the guidance of Oliver Schrempf and Patrick Rößler.