This program shows how to render a tiled texture map using an indirect texture. A regular texture contains a set of tile definitions. An indirect texture contains a tile map that places tiles on a given surface.
| Functions | Parameters | Description |
GXSetTexCoordScaleManually |
Texture coordinate. | GX_TEXCOORD0. |
| enable | GX_TRUE | |
| scale S | 128*32 | |
| scale T | 64*32 | |
|
number of stages | 1 |
|
indirect stage | GX_INDTEXSTAGE0. |
| Texture coordinate. | GX_TEXCOORD0. | |
| texture map | GX_TEXMAP1 | |
|
indirect stage | GX_INDTEXSTAGE0. |
| S scale | GX_ITS_32 | |
| T scale | GX_ITS_32 | |
GXSetTevIndTile |
TEV stage | GX_TEVSTAGE1 |
| indirect stage | GX_INDTEXSTAGE0. | |
| tile size S | 32 | |
| tile size T | 32 | |
| tile spacing S | 32 | |
| tile spacing T | 32 | |
| indirect texture format | GX_ITF_4 | |
| indirect texture matrix | GX_ITM_0 | |
| indirect bias select | GX_ITB_NONE | |
| bump alpha select | GX_ITBA_OFF |
START exits the test.
The L and R Buttons rotate the image.
The Control Stick translates the image. The A and B Buttons zoom in and zoom out.


$REVOLUTION_SDK_ROOT/dvddata/gxTests/g2d-00.tpl.
03/01/2006 Initial version.