Class Name: Rendering Properties

Superclass - SEDRIS Abstract Base

Definition

Selection of shading algorithms, display sides, and presentation styles suggested to use when rendering Geometry objects, particularly Polygons. (Use the SE_TokenSetDefinition() function in sedris.c to find the 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 must be rendered).

FAQs

--FAQs needed here --

Constraints

None.

Component of (one-way)

Field Elements

SE_PIXEL_FILL_METHOD_ENUM fill_method; (notes)
SE_SHADE_METHOD_ENUM shading; (notes)
SE_COLOR_BINDING_ENUM color_binding; (notes)
SE_TOKEN_SET presentation_domain; (notes)
SE_TOKEN_SET style; (notes)
SE_TOKEN_SET side; (notes)

Notes

Fields Notes

fill_method

 color blending method

shading

 shading algorithm to use

color_binding

 color inheritance/overload rule

presentation_domain

 usage

style

 Solid, Wireframe, or Solid & Wireframe

side

 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: Rotating Light Behavior. Up:Index.