Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoTextureMapDiffuseColor(3D)

DoTextureMapEnviron(3D)

DoTextureMapBump(3D)

DoTextureMapTranspIntens(3D)

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

NAME

DoTextureOp − Create a texture attribute object that controls how the texture value is combined with the current value

SYNOPSIS

C:

DtObject DoTextureOp(operator)
DtTextureOperator operator;

FORTRAN:

INTEGER∗4 DOTOP(OP)
INTEGER∗4 OP

DESCRIPTION

DoTextureOp creates a texture attribute object that controls how the computed texture value combines with the value already computed by the renderer.  Note that another texture may already have affected the value computed by the renderer.  The parameter operator specifies the combination rule.  The possible values of operator are:

DcTextureReplace <DCTREP>
The value computed from the texture replaces the value already computed by the renderer.

DcTextureMultiply <DCTMUL>
The value computed from the texture is used to scale the value already computed by the renderer.

DcTextureBlend <DCTBLD>
This is only valid if the texture also includes an alpha channel. The value computed from the texture is combined, using alpha, with the value already computed by the renderer:
new_value = computed_value∗(1-alpha) + texture_value∗alpha

DcTextureAdd <DCTADD>
The value computed from the texture is added to the value already computed by the renderer.

Note that not all renderers will support all types of operators. 

DEFAULTS

The default value for DoTextureOp is DcTextureReplace <DCTREP>. 

SEE ALSO

DoTextureMapDiffuseColor(3D), DoTextureMapEnviron(3D), DoTextureMapBump(3D), DoTextureMapTranspIntens(3D)

September 02, 1992

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