ind-warp

Description

This program uses an indirect texture to warp the lookup of an image texture.  The indirect warp texture is generated dynamically for each frame.

Coverage

Functions Parameters Description
GXSetNumIndStages number of stages 1
GXSetIndTexOrder indirect stage GX_INDTEXSTAGE0.
Texture coordinate. GX_TEXCOORD0
texture map GX_TEXMAP1
GXSetIndTexCoordScale indirect stage GX_INDTEXSTAGE0.
S scale GX_ITS_4.
T scale GX_ITS_4.
GXSetTevIndWarp TEV stage GX_TEVSTAGE1.
indirect stage GX_INDTEXSTAGE0.
signed offsets GX_TRUE.
replace mode GX_FALSE.
indirect texture matrix GX_ITM_0.

Operation Method

START stops warp. The Control Stick rotates the object on the x and y axis.
The L and R Buttons rotate the object on the z axis.
The C Stick scales the object.
B
The A/B Buttons change the selected parameter.
The X/Y Buttons select which parameter to change.

Snapshot

ind-warp-0.jpg (24818 bytes)

ind-warp-1.jpg (24807 bytes)

ind-warp-2.jpg (20266 bytes)

Required Data Files

$REVOLUTION_SDK_ROOT/dvddata/gxTests/tex-01.tpl.

Revision History

03/01/2006 Initial version.