This program indicates the viewport and scissor box features on the Wii.
Scissoring and viewport function.
| Functions | Parameters | Description |
GXSetViewport |
xOrig, yOrig, wd, ht | Can be changed interactively. |
| nearZ | 0.0f | |
| farZ | 1.0f | |
GXSetScissor |
xOrig, yOrig, wd, ht | Can be changed interactively. |
The A Button changes predefined settings 1 through 4 as follows.
| Setting # | Scissor Box | Viewport |
| 1 | ( 0, 0 ) - ( 640, 480 ) | ( 0, 0 ) - ( 640, 480 ) |
| 2 | ( 240, 180 ) - ( 560, 420 ) | ( 0, 0 ) - ( 640, 480 ) |
| 3 | ( 240, 180 ) - ( 560, 420 ) | ( 80, 60 ) - ( 400, 300 ) |
| 4 | ( 0, 0 ) - ( 640, 480 ) | ( 80, 60 ) - ( 400, 300 ) |
The B Button moves the cursor which is shown as a small circle on the corner of the box.
The X Button makes the cursor go faster.
The Control Stick moves the location of the corner of the box.
PAUSE exits the test.
Information on the scissor box and viewport appears in the upper left of the screen. A red line shows the range of the scissor box; a green line shows the range of viewport.
Predefined setting #1

Predefined setting #2

Predefined setting #3
(This image might differ from the actual hardware due to the difference in clipping ranges.)

Predefined setting #4
(This image might differ from the actual hardware due to the difference in clipping ranges.)

None.
2006/03/01 Initial version.
CONFIDENTIAL