Table 6.76—DRM_Directional_Light_Behaviour
Property |
Description |
||||||
Superclass |
|||||||
Class |
· <DRM Directional Light Behaviour> |
||||||
Subclass |
· <DRM Blend Directional Light> |
||||||
Definition |
This abstract DRM class specifies that all subclasses below it have the characteristics of a directional light. Directional lights have a direction and lobe shape defined by a component <DRM Lobe Data> object. The lobe shape parameters are used by sub-classes to specify such shapes as cones, pyramids, or blend geometry. Directional lights can have both a primary and a secondary color. These are specified by the <DRM Colour> components of the parent <DRM Geometry> that have color_mapping values of PRIMARY_LIGHT_COLOUR and SECONDARY_LIGHT_COLOUR, respectively. |
||||||
Example(s) |
· A 100 kilometer highway has regularly spaced lampposts. Each lamp has <DRM Cone Directional Light> with <DRM Lobe Data> pointing down. If all the lamps use the same <DRM Cone Directional Light>, instance, then all the directions will be parallel. Due to the curvature of the Earth, very few of the lights will shine directly down; the others will be slightly skewed. If, instead, the set of lamps is divided into smaller contiguous groups, each with its own <DRM Cone Directional Light> instance using a <DRM Location> near the center of the group, the skewing effect will be greatly minimized. |
||||||
Inherited field elements |
|
||||||
Field elements |
|
||||||
Associated to (one-way) (inherited) |
· none |
||||||
Associated to (one-way) |
· none |
||||||
Associated by (one-way) (inherited) |
· none |
||||||
Associated by (one-way) |
· none |
||||||
Associated with (two-way) (inherited) |
· none |
||||||
Associated with (two-way) |
· none |
||||||
Composed of (two-way) (inherited) |
· none |
||||||
Composed of (two-way) |
· one <DRM Lobe Data>1 · one <DRM Location> |
||||||
Composed of (two-way metadata) (inherited) |
· none |
||||||
Composed of (two-way metadata) |
· none |
||||||
Component of (two-way) (inherited) |
· one or more <DRM Light Rendering Properties>s |
||||||
Component of (two-way) |
· none |
||||||
Constraints |
· none |
||||||
Notes |
1 lobe shape. |
||||||
Class diagram |