ind-bump-xyz

Description

This program shows how to render an indirect texture for environment-mapped bump mapping. The indirect map consists of offsets in (x, y, z) object space.

Coverage

Functions Parameters Description
GXSetNumIndStages Number of stages 1
GXSetIndTexOrder Indirect stage GX_INDTEXSTAGE0.
Texture coordinates GX_TEXCOORD0.
Texture map GX_TEXMAP2
GXSetIndTexCoordScale Indirect stage GX_INDTEXSTAGE0.
S scale GX_ITS_1.
T scale GX_ITS_1.
GXSetIndTexMtx Indirect matrix GX_ITM_0.
Matrices Various normal matrices.
Scale value 0
GXSetTevIndBumpXYZ TEV stage GX_TEVSTAGE1.
Indirect stage GX_INDTEXSTAGE0.
Indirect matrix GX_ITM_0.

Operation Method

End the test with START. The Control Stick rotates the model.

Snapshot

ind-bump-xyz-0.jpg (21206 bytes)

ind-bump-xyz-1.jpg (18686 bytes)

Required Data Files

$REVOLUTION_SDK_ROOT/dvddata/gxTests/dnt-test03.tpl.

Revision History

03/01/2006 Initial version.