DoTranspOrientIntens(3D) — Stardent Computer Inc. (\*(Dd)
NAME
DoTranspOrientIntens − Create a transparent intensity primitive attribute object for orientation dependent transparency
SYNOPSIS
C:
DtObject DoTranspOrientIntens(intensity)
DtReal intensity;
Fortran:
INTEGER∗4 DOTOI(INTENS)
REAL∗8 INTENS
DESCRIPTION
DoTranspOrientIntens creates a transparent intensity primitive attribute object for orientation dependent transparency.
Orientation dependent transparency means that the transparency of an object varies depending on the orientation of the object and the view direction. The transparency can also vary across the object if it is not completely flat.
The parameter intensity specifies the transparent intensity to be used for subsequent objects when the object is oriented such that the object normal is perpendicular to the viewing direction. For other object orientations the object transparent intensity for orientation dependent transparency is calculated as follows: transpintens = orientintens + (intens - orientintens)∗((I dot N) ∗∗ orientexp) where orientintens is the value specified by DoTranspOrientIntens, intens is the value specified by DoTranspIntens <DOTI>, orientexp is the value specified by DoTranspOrientExp <DOTOE>, N is the object normal, and I is the viewing direction (or the incoming ray direction for raytracing).
DEFAULTS
The default DoTranspOrientIntens is 0.5.
SEE ALSO
DoTranspOrientSwitch(3D), DoTranspOrientColor(3D), DoTranspOrientExp(3D), DoTranspIntens(3D), DoTranspColor(3D)
September 29, 2021