DoEmissionSwitch(3D)

NAME
DoEmissionSwitch - Create a primitive attribute object for enabling or disabling emissivity

SYNOPSIS
C:
DtObject DoEmissionSwitch(switchvalue)
DtSwitch switchvalue;

FORTRAN:
INTEGER*4 DOEMIS(SWVAL)
INTEGER*4 SWVAL

DESCRIPTION
DoEmissionSwitch creates a primitive attribute object for enabling or disabling emissivity. Emissive primitive objects are used as light sources for radiosity calculations. For the primitive objects rendered using radiosity, lights source objects in the studio group are ignored.

The parameter switchvalue specifies whether subsequent primitive objects emit light. If the switch is DcOn <DCON>, subsequent primitive objects are considered emissive. The color of the emitted light is determined by DoEmissionColor <DOEMIC>, and its intensity can be scaled using DoEmissionFactor <DOEMIF>. Emissive objects are visible in a rendered scene.

If the emission switch is DcOff <DCOFF>, subsequent objects do not emit light.

DEFAULTS
The default for DoEmissionSwitch is DcOff <DCOFF>.

SEE ALSO
DoEmissionColor(3D), DoEmissionFactor(3D), DoRadiositySwitch(3D), DvSetRadiosityUpdateType(3D)