Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoTranspSwitch(3D)

DoRefractionIndex(3D)

DoRefractionSwitch(3D)  —  Kubota Pacfic Computer Inc. (\*(Dd)

NAME

DoRefractionSwitch − Create a primitive attribute object for enabling or disabling the use of refraction

SYNOPSIS

C:

DtObject DoRefractionSwitch(switchvalue)
DtSwitch switchvalue;

FORTRAN:

INTEGER∗4 DORFRS(SWVAL)
INTEGER∗4 SWVAL

DESCRIPTION

DoRefractionSwitch creates a refraction switch primitive attribute object

When light passes from one material to another the path of the light ray is altered by refraction.  This can be seen, for example, when light passes from air to a transparent material, such as glass or water. 

The parameter switchvalue specifies whether subsequent primitive objects can alter the path of light rays that pass through them. 

DcOn <DCON>
The object alters the path of light rays passing through it.

DcOff <DCOFF>
The object never alters the path of light rays passing through it.

The DoRefractionSwitch attribute is ignored if the DoTranspSwitch <DOTS> is not turned on. 

DEFAULTS

The default DoRefractionSwitch is DcOff. 

SEE ALSO

DoTranspSwitch(3D), DoRefractionIndex(3D)

September 02, 1992

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