Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SET RENDERING COLOUR MODEL(3P)  —  Kubota Pacfic Computer Inc. (29 February 1991)

NAME

SET RENDERING COLOUR MODEL − create a structure element to set current rendering colour model

SYNOPSIS

C Syntax

void
pset_rendering_colr_model( colour_model )
Pintcolour_model;colour model

Required PHIGS Operating States

(PHOP, ∗, STOP, ∗)

DESCRIPTION

Purpose

SET RENDERING COLOUR MODEL specifies the colour model in which lighting calculation and colour interpolation are performed. 

C Input Parameters

colour_model
The defined rendering colour models are:

0PRCM_WS_DEP
1PRCM_RGBRed, Green, Blue Colour Model
2PRCM_CIECommission Internationale de l’Eclairage Colour Model
3PRCM_HSVHue, Saturation, Value Colour Model
4PRCM_HLSHue, Lightness, Saturation Colour Model

Execution

Depending on the edit mode, a SET RENDERING COLOUR MODEL element is inserted into the open structure after the element pointer, or replaces the element pointed to by the element pointer.  When an element of this type is interpreted, the the value associated with the element. If the specific colour model is not available, colour model 0, PRCM_WS_DEP, is used. 

ERRORS

005Ignoring function, function requires state (PHOP, ∗, STOP, ∗)

SEE ALSO

INQUIRE RENDERING COLOUR MODEL FACILITIES (3P+)

September 02, 1992

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