The SEDRIS Data Representation Model
APPENDIX A - Classes
Rendering Properties

Class Name: Rendering Properties

Superclass - <SEDRIS Abstract Base>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class specifies a selection of shading algorithms, display sides, and presentation styles suggested to use when rendering <Geometry> instances, particularly <Polygons>. (Use the SE_TokenSetDefinition() function to determine the underlying type of a class' token set.)

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. Render flat shaded, solid, front-sides of polygons.
  2. Render interpolation shaded, solid, front-sides of polygons.
  3. Render Gouraud shaded, wire-frame, both-sides of polygons.
  4. Render Phong shaded, solid, back-sides of polygons (possibly for a transmittal that describes an enclosed volume, and all of the polygons defining the enclosed volume face outwards, and the simulation would occur inside the enclosed volume, so only the back sides of the polygons shall be rendered).

FAQs

No FAQs supplied.

Constraints

None.

Composed of (two-way)

Component of (two-way)

Inherited Field Elements

This class has no inherited field elements.

Field Elements

SE_Pixel_Fill_Method fill_method; (notes)
SE_Shade_Method shading; (notes)
SE_Colour_Binding colour_binding; (notes)
SE_Token_Set style; (notes)
SE_Token_Set side; (notes)

Notes

Composed of Notes


Presentation_Domain

 Usage

Fields Notes


fill_method

 colour blending method

shading

 shading algorithm to use

colour_binding

 colour inheritance/overload rule

style

 The set of SE_Display_Style tokens specifying
 what combination of wire vs. solid style is
 to be used (either or both).

side

 The set of SE_Display_Side tokens specifying which side(s) to
 display (front, back, or both).

 The front side of a polygon is the side that has a counterclockwise
 orientation of the ordered vertices of the polygon.  Normally either
 both sides or just the front sides of polygons are rendered (rendering
 just the front sides of a polygon culls out the backs of the polygon).
 single sided vs two sided; N/A if backfaced culling used

Prev: Rendering Priority Level. Next: RGB Colour. Up:Index.

Last updated: October 1, 2002 Copyright © 2002 SEDRIS™