void pset_refl_model(
Pint refl_model /* reflectance model */
)
A SET REFLECTANCE MODEL element is inserted in the open structure after element pointer or replaces the element indicated by element pointer, depending on edit mode. Element pointer then points to the SET REFLECTANCE MODEL element. The value specified by the parameter is associated with the element.
When an element of this type is interpreted, the current reflectance model entry in the traversal state list is set to the value associated with the element. This value is used when displaying subsequent area defining output primitives when the current reflectance model ASF in the traversal state list is INDIVIDUAL.
The defined values for reflectance model are:
PREFL_MODEL_NO_REFL no reflectance calculation performed
PREFL_MODEL_AMB_REFL ambient reflectance effects produced
PREFL_MODEL_AMB_DIFF_REFL ambient and diffuse reflectance effects produced
PREFL_MODEL_AMB_DIFF_SPEC_REFL ambient, diffuse, and specular reflectance effects produced
When an element of this type is interpreted, if the specified value is not available on a workstation, a value of PREFL_MODEL_NO_REFL is used.
If GPHIGS is in NRS mode, the effect of this function is different from the effect described in the standard.
In NRS mode, (see OPEN PIPE), the element is not stored in a structure. It is sent to the workstation on which the pipe is opened.
fill area, fill area set, fill area set 3 with data, set of fill area sets 3 with data, triangle set 3 with data, triangle strip 3 with data, quadrilateral mesh 3 with data, cell array 3 plus, non-uniform b-spline surface 3, non-uniform b-spline surface 3 with data, open structure, open pipe (ext), inquire current element content, inquire current element type and size, set reflectance properties, set light source state