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 coordinates GX_TEXCOORD0
Texture map GX_TEXMAP1
GXSetIndTexCoordScale Indirect stage GX_INDTEXSTAGE0
S scale GX_ITS_4
T scale GX_ITS_4
GXSetTevIndWarp TEV Stages GX_TEVSTAGE1
Indirect stage GX_INDTEXSTAGE0
signed offsets GX_TRUE
replace mode GX_FALSE
indirect texture matrix GX_ITM_0

Using the Demo

The START button halts the animation.
The Control Stick rotates the object on the x and y axes.
The L and R Buttons rotate the object on the z axis.
The C Stick scales the object.?
The A and B Buttons change the selected parameter. The X and Y Buttons select which parameter to change.

Snapshots

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

2006/03/01 Initial version.


CONFIDENTIAL