pix-fog

Description

This program shows six different fog methods that can be used with the Revolution. The TV screen contains six subscreens, but only four subscreens can be displayed at one time. Each subscreen displays a different fog method.

Coverage

Fog function.

Functions Parameters Description
GXSetFog type Represents one of six fog types.
startZ Can be changed interactively (default=16.0f).
endZ Can be changed interactively (default=1024.f).
nearZ 0.0
farZ 1.0
color (128,128,128,255)
GXInitFogAdjTable table Address of the fog table.
width 640 or 320.
proj. matrix Fixed camera.
GXSetFogRangeAdj enable GX_ENABLE and GX_DISABLE
center Varies according to viewport.
table Address of the fog table.

Operation Method

The A Button toggles the catalog/zoom up mode.
The B Button changes the scene.
The X Button changes the tag position/animations.
The Y button toggles the fog range adjust feature ON/OFF.
The R Button toggles the animation ON and OFF.
In catalog mode, the Control Stick moves the cursor to select the subscreen.
In zoom up mode, move the cursor using the Control Stick UP or DOWN to change the startZ/endZ settings.
In zoom up mode, the Control Stick LEFT/RIGHT changes the parameter.
START exits the test.

Snapshot

Fog types are: NONE, LINEAR, EXP and EXP2.

pix-fog-1.jpg

Fog types are: EXP, EXP2, REV-EXP and REV-EXP2.

pix-fog-2.jpg

Required Data Files

None.

Revision History

03/01/2006 Initial version.