Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ trnorclr(3D) — Stardent 3.0 System Software

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoTranspOrientSwitch(3D)

DoTranspOrientIntens(3D)

DoTranspOrientExp(3D)

DoTranspIntens(3D)

DoTranspColor(3D)

DoTranspOrientColor(3D)  —  Stardent Computer Inc. (\*(Dd)

NAME

DoTranspOrientColor − Create a transparent color primitive attribute object for orientation dependent transparency

SYNOPSIS

C:

DtObject DoTranspOrientColor(colormodel, color)
DtColorModel colormodel;
DtReal color[];

Fortran:

INTEGER∗4 DOTOC(COLMOD, COLOR)
INTEGER∗4 COLMOD
REAL∗8 COLOR(∗)

DESCRIPTION

DoTranspOrientColor creates a transparent color 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 color specifies the transparent color 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 color for orientation dependent transparency is calculated as follows: transpcolor = orientcolor + (color - orientcolor)∗((I dot N) ∗∗ orientexp) where orientcolor is the value specified by DoTranspOrientColor, color is the value specified by DoTranspColor, orientexp is the value specified by DoTranspOrientExp, N is the object normal, and I is the view direction (or the incoming ray direction for raytracing). 

DEFAULTS

The default DoTranspOrientColor is (DcRGB, 1.0,1.0,1.0.). 

SEE ALSO

DoTranspOrientSwitch(3D), DoTranspOrientIntens(3D), DoTranspOrientExp(3D), DoTranspIntens(3D), DoTranspColor(3D)

September 29, 2021

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