Python Computer Graphics Kit
Previous:
Front Matter
Up:
Python Computer Graphics Kit
Next:
1. Introduction
Contents
1. Introduction
1.1 cgkit light
1.2 External dependencies
1.3 An introductory tutorial
1.4 Components and Slots
1.5 Coordinate systems
2. Building & Installing
2.1 Building from the sources
3. Tools
3.1 The interactive viewer tool
3.2 The render tool
4. Generic modules
4.1 cgkitinfo -- Release information
4.2 cgtypes -- Vectors, matrices and quaternions
4.2.1 vec3 - 3d vector
4.2.2 vec4 - 4d vector
4.2.3 mat3 - 3x3 matrix
4.2.4 mat4 - 4x4 matrix
4.2.5 quat - quaternions
4.3 ri -- Generic RenderMan binding to produce RIB
4.3.1 Using the API
4.3.2 Online documentation
4.3.3 Differences between the C and Python API
4.3.4 Implementation specific options
4.3.5 Error handling
4.4 cri -- RenderMan binding for direct access to a renderer
4.4.1 Example
4.5 riutil -- RenderMan utilities
4.6 noise -- Noise functions
4.7 sl -- RenderMan Shading Language functionality
4.7.1 Constants
4.7.2 Math functions
4.7.3 Geometric functions
4.7.4 String functions
4.7.5 Unsupported functions
4.8 sltokenize -- Tokenizer for the RenderMan Shading Language
4.9 slparams -- Extracting RenderMan Shader parameters
4.10 glslangtokenize -- Tokenizer for the OpenGL 2 shading language
4.11 glslangparams -- Extracting OpenGL 2 shader parameters
4.12 spacedevice -- Wrapper around the 3Dconnexion Developer's Kits
4.12.1 Example
4.13 wintab -- Wrapper around the Wintab
TM
Developer Kit
4.13.1 Context class
4.13.2 Packet class
4.14 glove -- Wrapper around the 5DT Data Glove SDK
4.15 asfamc -- Acclaim skeleton and motion file (ASF/AMC) reader
4.15.1 ASFReader class
4.15.2 AMCReader class
4.16 bvh -- Reading Biovision Hierarchical (BVH) motion capture files
4.16.1 Node objects
4.17 objmtl -- Reading Wavefront OBJ/MTL files
4.17.1 OBJReader class
4.17.2 MTLReader class
4.17.3 Handling new keywords
4.18 mayaascii -- Reading Maya ASCII files
4.18.1 MAReader class
4.18.2 DefaultMAReader class
4.18.3 Node class
4.18.4 Attribute class
4.18.5 PolyFace class
4.18.6 NurbsSurface class
4.18.7 NurbsCurve class
4.19 mayabinary -- Reading Maya Binary files
4.19.1 MBReader class
4.19.2 Chunk class
4.19.3 GroupChunk class
4.20 lwob -- Reading Lightwave LWOB files
4.21 hammersley -- Generating Hammersley and Halton points
4.22 stitch -- Stitching together image tiles
5. Scene specific modules
5.1 pluginmanager -- Managing plugins
5.1.1 PluginManager class
5.1.2 PluginDescriptor
5.1.3 PluginObjectDescriptor
5.2 scene --
5.3 eventmanager -- Receiving and routing events
5.4 events -- Standard event names and classes
5.4.1 KeyEvent object
5.4.2 MouseButtonEvent object
5.4.3 MouseWheelEvent object
5.4.4 MouseMoveEvent object
5.4.5 JoystickAxisEvent object
5.4.6 JoystickHatEvent object
5.4.7 JoystickBallEvent object
5.4.8 JoystickButtonEvent object
5.4.9 SpaceMotionEvent object
5.4.10 SpaceButtonEvent object
5.5 keydefs -- Key code definitions
5.6 preferences --
5.7 undo --
5.8 slots -- Slot classes
5.8.1 Dependent class
5.8.2 Slot classes
5.8.3 ArraySlot classes
5.8.4 SizeConstraint objects
5.8.5 Procedural slots
5.8.6 NotificationForwarder class
6. Commands
7. The scene
7.1 Scene object
7.2 Globals
8. Components
8.1 Component -- Component base class
8.2 Timer -- Manages the virtual time
8.3 EulerAdapter -- Convert euler angles to mat3, mat4 or quat
8.4 Expression -- Using expressions to drive animations
8.5 LookAt -- Align the orientation of objects so they point to a particular target
8.6 ValueTable -- Animate a value from a table of values
8.7 Tunnel -- Connect slots located on different machines
8.8 ODEDynamics -- Rigid body dynamics using the Open Dynamics Engine
8.8.1 ODEContactProperties -- Contact properties during collision
8.8.2 ODEBodyManipulator -- Apply external forces/torques to bodies
8.8.3 ODECollisionEvent -- Collision event object
8.9
FlockOfBirds
-- Retrieving values from an Ascension Flock of Birds
motion tracker
8.10 GnuPlotter -- Plot values using Gnuplot
8.11 PIDController -- Proportional-Integral-Derivative controller
8.12 SlideShow -- Displaying a series of images
8.12.1 Slide class
8.12.2 XFade transition
8.12.3 XCube transition
8.13 MotionPath -- Motion path
9. WorldObjects
9.1 WorldObject -- World object base class
9.2 Box -- Box object
9.3 Sphere -- Sphere object
9.4 CCylinder -- Capped cylinder object
9.5 Plane -- Plane object
9.6 Torus -- Torus object
9.7 TriMesh -- Triangle mesh object
9.8 Polyhedron -- Polyhedron object
9.9 Group -- Group object
9.10 Joint -- Joint class for creating a skeleton
9.11 TargetCamera -- Target camera
9.12 FreeCamera -- Free camera
9.13 GLPointLight -- OpenGL point light
9.14 GLTargetSpotLight -- OpenGL target spot light
9.15 GLFreeSpotLight -- OpenGL spot light
9.16 GLTargetDistantLight -- OpenGL target distant light
9.17 GLFreeDistantLight -- OpenGL distant light
9.18 SpotLight3DS -- 3DS spot light
9.19 MayaSpotLight -- Maya spot light
9.20 RMLightSource -- RenderMan light source
9.21 RIBArchive -- Reference an external RIB archive
9.22 ODE joints -- Joint classes for the ODEDynamics component
9.22.1 ODEBallJoint -- Ball and socket joint
9.22.2 ODEHingeJoint -- Hinge joint
9.22.3 ODESliderJoint -- Slider joint
9.22.4 ODEHinge2Joint -- Hinge-2 joint
9.22.5 ODEUniversalJoint -- Universal joint
9.23 BezierCurve -- Bezier curve
10. GeomObjects
10.1 GeomObject -- Geometry base class
10.2 BoxGeom -- Box geometry
10.3 SphereGeom -- Sphere geometry
10.4 CCylinderGeom -- Capped cylinder geometry
10.5 PlaneGeom -- Plane geometry
10.6 TorusGeom -- Torus geometry
10.7 TriMeshGeom -- Triangle mesh geometry
10.8 PolyhedronGeom -- Polyhedron geometry
10.9 BezierCurveGeom -- Piecewise cubic Bezier curve
11. Materials
11.1 GLMaterial -- OpenGL material
11.1.1 GLTexture -- Specifying a texture map
11.1.2 GLShader -- Specifying a shader
11.2 RMMaterial -- RenderMan material
11.2.1 RMShader -- RenderMan shader
11.3 Material3DS -- 3DS material
11.3.1 TextureMap3DS -- Texture map definition for the 3DS material
11.4 OBJMaterial -- OBJ material
11.4.1 OBJTextureMap -- Texture map definition for the OBJ material
12. Auxiliary classes
12.1 BoundingBox -- An axis aligned bounding box
12.2 Joystick -- Represents a joystick
13. Plugins
13.1 Export plugins
13.1.1 RenderMan
RIB export
13.1.2 Geomview Object File Format (OFF) export
13.1.3 Wavefront OBJ export
13.1.4 Polygon (PLY) export
13.2 Import plugins
13.2.1 Python import
13.2.2 Geomview Object File Format (OFF) import
13.2.3 3D Studio 3DS import
13.2.4 VRML/X3D import
13.2.5 Indexed Face Set (IFS) import
13.2.6 Wavefront OBJ import
13.2.7 Maya ASCII (MA) import
13.2.8 StereoLithography (STL) import
13.2.9 Acclaim Skeleton/Motion Capture file (ASF/AMC) import
13.2.10 Biovision Hierarchical (BVH) import
13.2.11 Polygon (PLY) import
A. License
Module Index
Index
Python Computer Graphics Kit
Previous:
Front Matter
Up:
Python Computer Graphics Kit
Next:
1. Introduction
Release 2.0.0alpha8, documentation updated on February 24, 2008.