Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoRefractionSwitch(3D)

DoTranspSwitch(3D)

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

NAME

DoRefractionIndex − Create a refraction index primitive attribute object

SYNOPSIS

C:

DtObject DoRefractionIndex(index)
DtReal index;

FORTRAN:

INTEGER∗4 DORFRI(INDEX)
REAL∗8 INDEX

DESCRIPTION

DoRefractionIndex creates a refraction index 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. 

How much a light ray is bent when it passes from one material to another depends on the ratio of the indices of refraction for the two materials.  The parameter index is an index of refraction to be used for all subsequent primitive objects. 

A primitive object will refract light rays only if the DoRefractionSwitch <DORFRS> and the DoTranspSwitch <DOTS>> are enabled. 

DEFAULTS

The default DoRefractionIndex is 1.0. 

SEE ALSO

DoRefractionSwitch(3D), DoTranspSwitch(3D)

September 02, 1992

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