PSFDM(3g) — Subroutines
Name
PSFDM − Specifies the facet distinguishing mode.
Operating States: PHOP, ∗, STOP, ∗
PHIGS PLUS function
Creates a structure element
Old Syntax
DSFDM (DIST)
Argument Data Type Access Description
---------------------------------------------------------------------------
DIST Integer Read Facet distinguishing mode
---------------------------------------------------------------------------
New Syntax
PSFDM (DMODE)
Argument Data Type Access Description
---------------------------------------------------------------------------
DMODE Integer Read Facet distinguishing mode
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
DMODE POFF Use front attributes for back surfaces.
PON Use back attributes for back surfaces.
---------------------------------------------------------------------------
Description
PSFDM 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 DDSNO, Digital PHIGS uses front-facing attributes to render the back-facing surfaces. If the mode value is DDSYES, 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.
The new function syntax conforms to the ISO Fortran standard. Digital recommends that you code using the new function syntax.
See Also
PSBIC
PSBISM
PSBIS
PSBISI
PSBRFM
PSBRFP
PSFCM