This program shows six different fog methods that can be used with the Wii. The TV screen contains six subscreens, but only four subscreens can be displayed at one time. Each subscreen displays a different fog method.
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. |
The A button toggles the list and magnify modes.
The B button changes the scene.
The X button changes the tag position/animations.
The Y button toggles the fog range adjust feature on and off.
The R button toggles the animation on and off.
In list mode, the Control stick moves the cursor to select the subscreen.
In magnify mode, move the cursor using the Control stick up or down to change the startZ/endZ settings.
In zoom up mode, moving the Control stick left and right changes the parameter.
PAUSE exits the test.
Fog types are: NONE, LINEAR, EXP and EXP2.

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

None.
2006/03/01 Initial version.
CONFIDENTIAL