osg

The core osg module provides the basic scene graph types such as Nodes, State and Drawables, and maths and general helper types

Importing

To use the types in this module, import the module with the following line:

import osg 2.0

Types

The following types are provided:

Box

Shape

Camera

CompositeShape

Composition of shapes

Cone

Shape

Cylinder

Shape

Drawable

Base type for drawable geometry

Geode

Geometry node

Group

General group node which maintains a list of children

MatrixTransform

Transform via matrix 4x4

Node

Base type for all internal nodes in the scene graph

Object

Base type

PositionAttitudeTransform

Transform via vector and quaternion

Shape

Base type for all shape types

ShapeDrawable

Allow the use of Shapes as Drawables

Sphere

Shape

StateSet

Stores a set of modes and attributes which represent a set of OpenGL state

Transform

Transformation group