The SEDRIS Data Representation Model
APPENDIX A - Classes
Ambient Colour

Class Name: Ambient Colour

Superclass - <SEDRIS Abstract Base>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class specifies the ambient reflectance component of a <Primitive Colour> instance or <Light Source> instance, providing the base colour to the lighting equation for the object being lit or the light itself, respectively.

Ambient light is the result of bouncing light rays around the environment until the light has been diffused so much that its source and direction cannot be determined. Consequently, an <Ambient Colour> instance is

  1. independent of the angle of the lit object to the light source
  2. independent of the angle of the lit object to the observer

The <Ambient Colour> instance of an environmental object is combined with the ambient component of each incoming light source to determine the colour due to the ambient light.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

See the <Primitive Colour> class for examples.

FAQs

Does the DRM use the OpenGL lighting model?

No, although the terminology is similar. The DRM handles transparency somewhat differently than OpenGL does, among other things. For a description of the OpenGL lighting model, see [OPENGL], Chapter 5 "Lighting".

Constraints

Composed of (two-way)

Component of (two-way)

Inherited Field Elements

This class has no inherited field elements.
Prev: Alternate Hierarchy Related Geometry. Next: Animation Behaviour. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS