A tg-project tests every detail of the texture projection. The user can change all parameters in this sample interactively.
| Functions | Parameters | Description |
GXLoadTexMtxImm |
Matrices | Appropriate projection matrix. |
| Matrix destination. | GX_TEXMTX0 |
|
| Types | GX_MTX3x4 |
|
GXSetTexCoordGen |
Destination coordinates. | GX_TEXCOORD0. |
| Generation type. | GX_TG_MTX3x4 |
|
| Generation source. | GX_TG_POS |
|
| Matrix source. | GX_TEXMTX0 |
The Menu button exits the test.
The X Button toggles control mode.
Camera Control
Light Position Control
Light Parameter Control
Model Select Control
Texture Select Control
Texture projection onto a cube.

Texture projection onto a dodecahedron.

Texture projection onto a cylinder.

Texture is projection onto a sphere.

Texture projection onto an octahedron.

Texture projection onto an icosahedron.

Texture projection onto an torus.

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