PSFCM(3g) — Subroutines
Name
PSFCM − Sets the facet culling mode attribute to the specified mode.
Operating States: PHOP, ∗, STOP, ∗
PHIGS PLUS function
Creates a structure element
Old Syntax
DSFCM (CULL)
Argument Data Type Access Description
---------------------------------------------------------------------------
CULL Integer Read Facet culling mode
---------------------------------------------------------------------------
New Syntax
PSFCM (CMODE)
Argument Data Type Access Description
---------------------------------------------------------------------------
CMODE Integer Read Facet culling mode
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
CMODE PNOFC No culling. This is the default value.
PBKFC Cull back-facing surfaces.
PFTFC Cull front-facing surfaces.
---------------------------------------------------------------------------
Description
PSFCM inserts a structure element that sets the facet culling mode attribute to the specified mode. If the mode value is PBKFC, Digital PHIGS culls all back-facing surfaces and renders only front-facing surfaces. If the mode value is PFTFC, Digital PHIGS culls all front-facing surfaces and renders only back-facing surfaces. If the mode value is PNOFC, Digital PHIGS renders both back- and front-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 culling 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
PSFDM