PSBRFM(3g) — Subroutines
Name
PSBRFM − Sets the back reflectance model for displaying back-facing portions of area primitives.
Operating States: PHOP, ∗, STOP, ∗
PHIGS PLUS function
Creates a structure element
Old Syntax
DSBIRE (BREFM)
Argument Data Type Access Description
---------------------------------------------------------------------------
BREFM Integer Read Back reflectance model
---------------------------------------------------------------------------
New Syntax
PSBRFM (RFM)
Argument Data Type Access Description
---------------------------------------------------------------------------
RFM Integer Read Back reflectance model
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
RFM PNORM Digital PHIGS performs no reflectance
calculation.
PARM Digital PHIGS produces ambient
reflectance effects.
PADRM Digital PHIGS produces ambient and
diffuse reflectance effects.
PADSRM Digital PHIGS produces ambient, diffuse,
and specular reflectance effects.
---------------------------------------------------------------------------
Description
PSBRFM 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.
The new function syntax conforms to the ISO Fortran standard. Digital recommends that you code using the new function syntax.
See Also
PQIFP
PSBISI
PSBRFP
PSIASF
PSIP
PSRFM