PSRFM(3g) — Subroutines
Name
PSRFM − Sets the reflectance model used to display front-facing portions of area primitives.
Operating States: PHOP, ∗, STOP, ∗
PHIGS PLUS function
Creates a structure element
Old Syntax
DSIRE (REFM)
Argument Data Type Access Description
---------------------------------------------------------------------------
REFM Integer Read Interior reflectance model
---------------------------------------------------------------------------
New Syntax
PSRFM (RFM)
Argument Data Type Access Description
---------------------------------------------------------------------------
RFM Integer Read Interior 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
PSRFM sets the reflectance model Digital PHIGS uses to display front-facing portions of area primitives. Depending on the current 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 reflectance model element.
During structure traversal, Digital PHIGS sets the current reflectance model entry in the PHIGS traversal state list to the value associated with the element. When the current reflectance model ASF entry in the traversal state list is INDIVIDUAL, Digital PHIGS uses this value to display front-facing portions of subsequent area primitives. If the specified 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
PCA
PCA3
PCA3P
PFA
PFA3
PFAS
PFAS3
PFASD
PFAS3D
DFASW
DFASW3
DFAW
DFAW3
PQIFP
PBSS3
PQM3D
PSBRFM
PSFDM
PSIASF
PSII
PSIR
PSIR
PSIP
PSFAS3
PSRFP
PTST3D