pset_back_refl_model(3g) — Subroutines
Name
pset_back_refl_model − Sets the back reflectance model for displaying back-facing portions of area primitives.
Operating States: PHOP, ∗, STOP, ∗
PHIGS PLUS function
Creates a structure element
Syntax
void pset_back_refl_model (
Pint model /∗ (I) Back interior reflectance model ∗/
)
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
model PREFL_MODEL_NO_REFL Digital PHIGS performs
no reflectance
calculation.
PREFL_MODEL_AMB_REFL Digital PHIGS produces
ambient reflectance
effects.
PREFL_MODEL_AMB_DIFF_REFL Digital PHIGS produces
ambient and diffuse
reflectance effects.
PREFL_MODEL_AMB_DIFF_SPEC_REFL Digital PHIGS produces
ambient, diffuse, and
specular reflectance
effects.
---------------------------------------------------------------------------
Description
pset_back_refl_model sets the back reflectance model Digital PHIGS uses to display back-facing portions of area primitives. Depending on the edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer. The pointer then points to the new set back reflectance model element.
During structure traversal, Digital PHIGS sets the current back reflectance model entry in the PHIGS traversal state list to the value associated with the element. When the current back reflectance model ASF entry in the traversal state list is INDIVIDUAL, Digital PHIGS uses this value to display back-facing portions of subsequent area primitives. If the specified back reflectance model value is not available on a workstation, Digital PHIGS uses value 1.
If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element.
See Also
pinq_int_facs_plus
pset_back_int_style_ind
pset_back_refl_props
pset_indiv_asf
pset_int_rep_plus
pset_refl_model