The SEDRIS Data Representation Model
APPENDIX A - Classes
Light Rendering Properties

Class Name: Light Rendering Properties

Superclass - <SEDRIS Abstract Base>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class indicates that the aggregating <Geometry> is to be rendered so as to provide the illusion that the <Geometry> emits light, but unlike an actual <Light Source>, the <Geometry> will not actually emit light (for example, shadows should not be generated).

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. Any <Primitive Geometry> can take on light behaviour. An example might be a <Point Geometry>, where the light point is visible to a certain extinguishing range (default = 0, i.e. the light is visible from any distance).

FAQs

No FAQs supplied.

Constraints

Composed of (two-way)

Component of (two-way)

Inherited Field Elements

This class has no inherited field elements.

Field Elements

SE_Display_Type display_type;
SE_Long_Float light_diameter; (notes)
SE_Long_Float light_extinguishing_range; (notes)
SE_Boolean random_area_light; (notes)
SE_Boolean active_light_value; (notes)
SE_Long_Float candela_value; (notes)

Notes

Fields Notes


light_diameter

 This is the size of the light, in pixels.
 The default value, 0.0, means "not applicable."

light_extinguishing_range

 This is the distance, in metres, at which the light is no longer seen.
 The default value, 0, means that it is always seen.

random_area_light

 This indicates whether all lights at this level and in the
 associated component tree were originally part of a
 random area light.

active_light_value

 This is the default / active state of the light, where
 SE_TRUE = on, and SE_FALSE = off.

candela_value

 This is the candela value of the light at full intensity.
 The default value, 0, means that the source had no candela value.

Prev: Light Rendering Behaviour. Next: Light Rendering Properties Control Link. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™