DL-tex

Description

This program shows how commands that manipulate texture registers can be placed in display lists.

It shows a rotating cube with a different texture on each face. The cube is drawn by calling a single display list. Another display list is used to initialize the texture state. GXLoadTexObj commands are not used in this demo.

The value in this demo is not in seeing it run, but in the code itself.

Coverage

Display list functions.

Functions Parameters Description
GXBeginDisplayList list, size Two different display lists of different sizes are specified.
GXEndDisplayList None.
GXCallDisplayList list, nbytes Two different display lists of different sizes are specified.

Using the Demo

The A Button stops the animation.

START ends the test.

Snapshot

DL-tex.jpg (5526 bytes)

Required Data Files

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

Revision History

2006/03/01 Initial version.


CONFIDENTIAL