Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqip(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQIP(3g)  —  Subroutines

Name

PQIP − Returns front and back interior style and color information. 

Operating States: PHOP, WSOP, ∗, ∗
PHIGS PLUS function

Old Syntax

DQIRP (WKID, II, TYPE, MSLDR, MTLDR, ERRIND, CLRTYP, FICOLR, FCOLR,
BCLRTP, BICOLR, BCOLR, INTS, BINTS, ISTYLI, BISTLI, RFEQN, BRFEQN, SHDMD,
BSHDMD, AMB, DIFF, SPEC, SPCCT, FSICLR, FSCLR, SPECXP, TRANS, BAMB, BDIFF,
BSPEC, BSPCCT, BSICLR, BSCLR, BSPECX, BTRANS, APRXTP, SLDR, SDR, TRIMTP, TLDR,
TDR)

Argument          Data Type      Access     Description
---------------------------------------------------------------------------
WKID              Integer        Read       Workstation identifier
II                Integer        Read       Interior index
                                            component specification
TYPE              Integer        Read       Type of values to return
MSLDR             Integer        Read       Maximum length of surface
                                            approximation data record
MTLDR             Integer        Read       Maximum length of trimming
                                            curve approximation data record
ERRIND            Integer        Write      Error indicator
CLRTYP            Integer        Write      Front interior color type
FICOLR            Integer        Write      Front indexed color value
FCOLR(3)          Array of       Write      Front direct color value
                  reals
BCLRTP            Integer        Write      Back interior color type
BICOLR            Integer        Write      Back indexed color value
BCOLR(3)          Array of       Write      Back direct color value
                  reals
INTS              Integer        Write      Front interior style
BINTS             Integer        Write      Back interior style
ISTYLI            Integer        Write      Front interior style index
BISTLI            Integer        Write      Back interior style index
RFEQN             Integer        Write      Front interior reflectance
                                            equation
BRFEQN            Integer        Write      Back interior reflectance
                                            equation
SHDMD             Integer        Write      Front interior shading method
BSHDMD            Integer        Write      Back interior shading method
AMB               Real           Write      Front ambient reflectance
                                            coefficient
DIFF              Real           Write      Front diffuse reflectance
                                            coefficient
SPEC              Real           Write      Front specular reflectance
                                            coefficient
SPCCT             Integer        Write      Front specular color type
FSICLR            Integer        Write      Front specular indexed color
                                            value
FSCLR(3)          Array of       Write      Front specular direct color
                  reals                     value
SPECXP            Real           Write      Front specular exponent
TRANS             Real           Write      Front transparency coefficient
BAMB              Real           Write      Back ambient reflectance
                                            coefficient
BDIFF             Real           Write      Back diffuse reflectance
                                            coefficient
BSPEC             Real           Write      Back specular reflectance
                                            coefficient
BSPCCT            Integer        Write      Back specular color type
BSICLR            Integer        Write      Back specular indexed color
                  reals                     value
BSCLR(3)          Array of       Write      Back specular direct color
                  reals                     value
BSPECX            Real           Write      Back specular exponent
BTRANS            Real           Write      Back transparency coefficient
APRXTP            Integer        Write      Surface approximation criteria
                                            type
SLDR              Integer        Write      Length of surface approximation
                                            data record
SDR(MSLDR)        Character ∗80  Write      Surface approximation data
                                            record
TRIMTP            Integer        Write      Trimming curve approximation
                                            criteria type
TLDR              Integer        Write      Length of trimming curve
                                            approximation data record
TDR(MTLDR)        Character ∗80  Write      Trimming curve approximation
                                            data record
---------------------------------------------------------------------------

New Syntax

PQIP (WKID, II, CCSBSZ, TYPE, ERRIND, INTS, STYLI, CTYPE, COLI,
NCC, COLR, ISM)

Argument          Data Type      Access     Description
---------------------------------------------------------------------------
WKID              Integer        Read       Workstation identifier
II                Integer        Read       Interior index
CCSBSZ            Integer        Read       Buffer size of the color
                                            component specification
TYPE              Integer        Read       Type of values to return
ERRIND            Integer        Write      Error indicator
INTS              Integer        Write      Interior style
ISTYLI            Integer        Write      Interior style index
CTYPE             Integer        Write      Color type
COLI              Integer        Write      Color index
NCC               Integer        Write      Number of color value components
COLR(CCSBSZ)      Array of       Write      Color values
                  reals
ISM               Integer        Write      Interior shading method
---------------------------------------------------------------------------

Constants

Defined Argument      Constant    Description
---------------------------------------------------------------------------
TYPE                  PSET        Use the exact state list values.
                      PREALI      Use the values approximated by the
                                  graphics handler.
INTS                  PHOLLO      Hollow interior.
                      PSOLID      Solid interior.
                      PPATTR      Patterned interior.
                      PHATCH      Hatched interior.
                      PISEMP      Empty interior.
CTYPE                 PINDIR      Indirect (indexed) color.
                      PRGB        Direct specification of red, green, and
                                  blue.
                      PCIE        Direct specification in the format of the
                                  Commission Internationale de l’Eclairage.
                      PHSV        Direct specification of hue, saturation,
                                  and value.
                      PHLS        Direct specification of hue, lightness,
                                  and saturation.
ISM                   PNOIS       No interpolation, constant shading.
                      PCIS        Linear interpolation of color.
                      PDDIS       Interpolation of color based on dot
                                  products.
                      PDNIS       Interpolation of color based on
                                  normals.
---------------------------------------------------------------------------

Description

PQIP returns information on the extended interior representation, including the front and back interior styles, the front and back interior style indexes, the front and back colors, the front and back shading methods, the front and back lighting methods, and the front and back reflectance coefficients. 

See Also

PQIR
PQPIP
PSII
PSIP

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026