tex-2-tex

Description

tex-2-tex is a test of multi-texture performance. Forty-nine cubes are displayed, each with two textures. This test loads multi-texture maps into two different texture channels. The user can change the way the maps are combined, using GX_MODULATE, GX_DECAL, or by turning the two textures on and off. Also, the user can change how often the texture cache is flushed for every cube: either never or every frame.

Coverage

Functions Parameters Description
GXSetTevOp TEV Stages GX_TEVSTAGE0, GX_TEVSTAGE1.
op GX_REPLACE, GX_MODULATE, GX_DECAL, GX_PASSCLR
GXLoadTexObj address GX_TEXMAP0, GX_TEXMAP1
GXInvalidateTexAll (No parameter)

Using the Demo

START exits the test.

The X Button toggles the combine mode.

The B Button changes the texture cache flush frequency.

Snapshot

tex-2-tex-1.jpg

Required Data Files

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

Revision History

2006/03/01 Initial version.


CONFIDENTIAL