Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ light_ambie(3G) — HP-UX 5.50

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

light_model(3G)

light_source(3G)

light_switch(3G)

shade_mode(3G)

surface_model(3G)

vertex_format(3G)

LIGHT_AMBIENT(3G)

NAME

light_ambient − define ambient light color

SYNOPSIS

C Syntax:

void light_ambient(fildes,red,green,blue);
int fildes;
float red,green,blue;

FORTRAN77 Syntax:

subroutine light_ambient(fildes,red,green,blue)
integer*4 fildes
real red,green,blue

Pascal Syntax:

procedure light_ambient(fildes:integer;red,green,blue:real);

DESCRIPTION

Input Parameters

fildes Integer file descriptor returned by gopen when an I/O path to a graphics device is opened. 

red, green, blue Values (in the range of 0.0 to 1.0) that define the ambient light color. 

Discussion

light_ambient specifies the color of the ambient light that is to be used when shading filled polygons (light_switch is used to enable or disable ambient lighting). 

DEFAULTS

White ambient light (r=1.0, g=1.0, b=1.0)

SEE ALSO

light_model(3G), light_source(3G), light_switch(3G), shade_mode(3G), surface_model(3G), vertex_format(3G), Starbase Graphics Techniques.

Hewlett-Packard Company  —  May 11, 2021

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