The SEDRIS Data Representation Model
APPENDIX C - Types
SE_Shade_Method
/*
 * ENUM: SE_Shade_Method
 *
 *   This data type is used in <Rendering Properties> instances to
 *   specify the illumination method.
 */
typedef enum
{
SE_SHADE_METH_NONE, (notes)
SE_SHADE_METH_FLAT, (notes)
SE_SHADE_METH_INTERPOLATED_COLOUR, (notes)
SE_SHADE_METH_INTERPOLATED_NORMAL (notes)
} SE_Shade_Method;


Enumerant Notes


SE_SHADE_METH_NONE

 Non-illuminated shading. Pixel colour is not affected by (spot or
 infinite) light sources. This is sometimes called Fixed shading,
 since pixel colours are fixed and don't change at render-time.

SE_SHADE_METH_FLAT

 Polygon Face Normal is used when calculating illumination of geometry.

SE_SHADE_METH_INTERPOLATED_COLOUR

 Vertex normals and light sources are taken into account when
 calculating illumination of a geometry attribute (a.k.a. Gouraud Lit).

SE_SHADE_METH_INTERPOLATED_NORMAL

 Vertex normals are interpolated as part of the illumination algorithm
 (a.k.a. Phong).



Prev: SE_Security_Info. Next: SE_Short_Integer.


Return to: Top of this Page, Type Index

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