pset_facet_disting_mode(3g) — Subroutines
Name
pset_facet_disting_mode − Specifies the facet distinguishing mode.
Operating States: PHOP, ∗, STOP, ∗
PHIGS PLUS function
Creates a structure element
Syntax
void pset_facet_disting_mode (
Pfacet_disting_mode mode /∗ (I) Facet distinguishing mode ∗/
)
Data Structures
typedef enum {
PFACET_DISTING_OFF, /∗ Use front attributes for back surfaces. ∗/
PFACET_DISTING_ON /∗ Use back attributes for back surfaces. ∗/
} Pfacet_disting_mode;
Description
pset_facet_disting_mode creates a structure element that specifies the facet distinguishing mode, which determines whether Digital PHIGS renders the back-facing surfaces with the back- or front-facing attributes. If the mode value is PFACET_DISTING_OFF, Digital PHIGS uses front-facing attributes to render the back-facing surfaces. If the mode value is PFACET_DISTING_ON, Digital PHIGS uses back-facing attributes to render the back-facing surfaces.
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 facet distinguishing mode element.
If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element.
See Also
pset_back_int_colr
pset_back_int_shad_method
pset_back_int_style
pset_back_int_style_ind
pset_back_refl_model
pset_back_refl_props
pset_facet_cull_mode