tf-reflect uses position matrix indices and texture matrix indices as vertex attributes. This makes it possible to render a soft object with reflection mapping. The demo shows a metallic coil as an example.
| Functions | Parameters | Description |
GXLoadPosMtxIndx |
Matrix | Model view matrix for each node. |
| Matrix output destination | GX_PNMTX0, GX_PNMTX1 |
|
GXLoadTexMtxIndx |
Matrix | Texture matrix to transform normal vector for each node. |
| Matrix output destination | GX_TEXMTX0, GX_TEXMTX1 |
|
| Matrix type | GX_MTX2x4 |
|
|
Attribute ID | GX_PNMTXIDX, GX_TEX0MTXIDX |
| Attribute comparison method | GX_DIRECT |
|
GXMatrixIndex1u8 |
Index. | GX_PNMTX0, GX_PNMTX1GX_TEXMTX0, GX_TEXMTX1 |
GXSetTexCoordGen |
Texture coordinate ID | GX_TEXCOORD0. |
| Matrix type | GX_TG_MTX2x4 |
|
| Attribute source to use for texture generation. | GX_TG_NRM |
|
| Matrix input source. | GX_TEXMTX0, GX_TEXMTX1 |
START exits the test. The A and B Buttons change camera zoom. The Control Stick rotates the coil. The L and R Buttons transform the model.

$REVOLUTION_SDK_ROOT/dvddata/gxTests/tf-02.tpl
2006/03/01 Initial version.
CONFIDENTIAL