The SEDRIS Data Representation Model
APPENDIX C - Types
SE_Shading_Method
/*
 * REGISTERABLE ENUM: SE_Shading_Method
 *
 *   This data type is used in <Rendering Properties> instances to
 *   specify the illumination method.
 */
typedef SE_Short_Integer SE_Shading_Method;
Enumerant Definition Value
SE_SHADMETH_NONE
 Non-illuminated shading. Pixel colour is not affected by either
 spot or infinite light sources. This is sometimes called Fixed shading,
 since pixel colours are fixed and do not change at render-time.
1
SE_SHADMETH_FLAT
 Polygon Face Normal is used when calculating illumination of geometry.
2
SE_SHADMETH_INTERPOLATED_COLOUR
 Vertex normals and light sources are taken into account when
 calculating illumination of a geometry attribute (a.k.a. Gouraud Lit).
3
SE_SHADMETH_INTERPOLATED_NORMAL
 Vertex normals are interpolated as part of the illumination algorithm
 (a.k.a. Phong).
4



Prev: SE_Season. Next: SE_Short_Integer.


Return to: Top of this Page, Type Index