1
Scene Graphs Scene Representation
How does one describe the objects in a
3D scene?
Scene Graphs
Scene Modeling Languages / API
From the low level to the high level
State Machine Model -- OpenGL Graph Based Scene Languages
Inventor VRML
True Object Oriented Model Languages
GROOP
State Machine Model API
State Machine Model
Current “state” of rendering is maintained
in global variable or stack.
Material properties Object transformation matrix Lights / Camera parameters
Much like a “graphicsContext”
State Machine Model API
Open GL
Originally designed as an API for SGI’s
rendering hardware
Very low level “C” programming library Includes:
Scene modeling Rendering Animation Some rudimentary and low level interactivity
State Machine Model API
OpenGL - scene modeling
Objects
only knows about polygons (different kinds of
polygons, but just polygons)
Polygons are specified by vertex list You are responsible for definition of normal