RenderWare V2.1

Previous Page Index Next Page


A Clump is a collection of Polygons and Vertices. Clump objects allow applications to handle large numbers of related polygons and vertices as a single, atomic entity. This greatly simplifies application construction.

Each polygon has an associated Material object, which defines the appearance of the polygon. Each material object may be shared by many polygons. Material objects encapsulate the following surface properties: geometry sampling type, light sampling type, RGB color; ambient, diffuse and specular coefficients of reflection, opacity, texture and texture modes.

A Light source illuminates objects in a scene. Three types of light source are supported:

A directional light source (or "distant" light source) emits light in a specified direction and is assumed to be an infinite distance from a scene. The sun is an example of a directional light source.
A point light source emits light of equal intensity in all directions from a specified position. A light bulb is an example of a point light source.
A conical light source emits a cone of light centered about a specified axial direction from a specified position. A spot light is an example of a conical light source.

A Camera captures an image of the objects in a 3D scene projected onto an image plane (or view plane). The projection may be either perspective or parallel. A rectangular region of this plane (called the view window) is stored as a 2D image in the camera’s image buffer. The rectangular region of pixels on the output device onto which a camera’s view window is mapped is the camera’s viewport.

A Scene is a collection of clumps and lights. A scene may be viewed through one or more cameras. At any instant, however, only one camera is active (the current camera) and the results of rendering are stored in the image buffer of this camera.