List of GX Sample Demos


Difficulty Level
GreenBall.gif (1026 bytes) - Easy
YellowBall.gif (1025 bytes) - Intermediate
Redball.gif (1027 bytes) - Advanced


Simple Demos

smp-octa
smp-texexample
smp-light
GreenBall.gif (1026 bytes)This shows the effects of interlace flicker. GreenBall.gif (1026 bytes)This shows an example of a basic texture. GreenBall.gif (1026 bytes)This shows a very simple example of vertex lighting.
smp-onetri
smp-onetri_dl
smp-toy
GreenBall.gif (1026 bytes)This shows the basics of defining a vertex format, loading a matrix, and rendering shaded polygons. GreenBall.gif (1026 bytes)This is the same as smp-onetri except that rendering is performed using GXCallDisplayList. GreenBall.gif (1026 bytes)This demo shows the basic parts of the controller and graphics API.

Clipping and Culling

cul-faces
cul-viewport
GreenBall.gif (1026 bytes)This introduces four methods of culling surfaces. GreenBall.gif (1026 bytes)This shows viewport and scissor box features.

Display List

DL-geom
DL-tex

DL-tf-mtx

YellowBall.gif (1025 bytes)This compares a program that uses a display list with one that does not. Redball.gif (1027 bytes) This shows the types of commands that can be placed in the display list. YellowBall.gif (1025 bytes)This shows the performance of a display list that includes a command that loads matrices.

Frame Buffer

frb-copy
frb-zcopy
frb-bound-box

YellowBall.gif (1025 bytes)This test copies a texture from the frame buffer. Redball.gif (1027 bytes)This test copies a Z texture from the frame buffer. GreenBall.gif (1026 bytes)This demo shows the bounding box feature.
frb-gamma
frb-fld-dbs
frb-fld-dbs-aa
GreenBall.gif (1026 bytes)This tests gamma correction mode. GreenBall.gif (1026 bytes)This demo shows single field rendering of double-strike output. GreenBall.gif (1026 bytes)This tests double-strike anti-alias rendering mode.
frb-fld-int
frb-fld-int-aa
frb-aa-full
GreenBall.gif (1026 bytes)This demo shows single field rendering of interlaced output. GreenBall.gif (1026 bytes)This tests interlaced anti-alias rendering mode. Redball.gif (1027 bytes) This tests full-frame anti-alias rendering mode.
frb-vfilter
YellowBall.gif (1025 bytes)This helps check the v filter and customize settings.

G2D

G2D-test
YellowBall.gif (1025 bytes)This sample demo is in the game format of the G2D library.

Geometry

geo-particle
geo-vtx-fmt
YellowBall.gif (1025 bytes)This tests the point size and line width that use a simple particle system. GreenBall.gif (1026 bytes)This demo shows the basic functions of a graphics pipeline.

Indirect Texture

ind-bump-st
ind-bump-xyz
ind-tile-test
Redball.gif (1027 bytes)This shows how to render indirect textures. Redball.gif (1027 bytes)This shows how to render indirect textures. Redball.gif (1027 bytes)This shows tiled texture mapping using indirect textures.
ind-warp
ind-pseudo-3d
Redball.gif (1027 bytes)This uses an indirect texture to warp the lookup of an image texture. Redball.gif (1027 bytes)This shows one way to make use of pseudo-3D texturing.

Lighting

lit-basic
lit-multi
lit-alpha
GreenBall.gif (1026 bytes)This controls a basic lighting channel that uses one light. GreenBall.gif (1026 bytes)This uses multiple lights and light masks. YellowBall.gif (1025 bytes)This uses multiple lighting channels.
lit-spot
lit-dist-atn
lit-atn-func
YellowBall.gif (1025 bytes)This controls angular attenuation. YellowBall.gif (1025 bytes)This controls distance attenuation. GreenBall.gif (1026 bytes) A simple function for attenuating light.
lit-unclamp
lit-cartoon
lit-texture
GreenBall.gif (1026 bytes)Diffuse function. YellowBall.gif (1025 bytes)This generates texture coordinates using a diffuse feature. GreenBall.gif (1026 bytes)This shows a combination of simple lighting and texture.
lit-tx-alpha
lit-prelit
lit-specular
YellowBall.gif (1025 bytes)This shows a combination of simple lighting and texture. YellowBall.gif (1025 bytes)This uses pre-lighting. YellowBall.gif (1025 bytes)This uses specular lighting.

Management

mgt-fifo-brkpt
mgt-fifo-dual
mgt-single-buf
Redball.gif (1027 bytes)Two frames of data is kept using a single FIFO. Redball.gif (1027 bytes)This shows how to implement a dual FIFO more difficult than mg-fifo-brkpt. Redball.gif (1027 bytes)This shows how to render using a single buffer.
mgt-triple-buf
Redball.gif (1027 bytes) This demonstrates rendering using triple buffering.

Performance

perf-fill perf-geo
perf-sync
Redball.gif (1027 bytes) The purpose is to check the limits of the GP pixel fill rate and texture band width capacity. Redball.gif (1027 bytes)The purpose is to check the limits of GP transform rate capacity. (Nothing appears on the screen.) Redball.gif (1027 bytes)This describes how to measure the rendering performance of a single model.

Pixel Processing

pix-fog
pix-blend
pix-logic
YellowBall.gif (1025 bytes)This shows six different fog types. YellowBall.gif (1025 bytes)This shows the blend feature of the pixel engine (PE). YellowBall.gif (1025 bytes)This shows a blend feature that uses logical operations of the pixel engine (PE).
pix-z-comp
pix-a-comp
pix-sub
YellowBall.gif (1025 bytes)The Z comparison feature of the pixel engine (PE). YellowBall.gif (1025 bytes)The alpha comparison feature of the pixel engine (PE). YellowBall.gif (1025 bytes)This shows the easy shadow volume method as an example of subtract pixel processing.

Generating Texture Coordinates

tg-basic
tg-project
tg-emboss
GreenBall.gif (1026 bytes)This shows how to generate textures. GreenBall.gif (1026 bytes)This shows texture projections. Redball.gif (1027 bytes)This tests bump mapping.
tg-light-fx
tg-shadow
tg-shadow2
Redball.gif (1027 bytes)Simple cartoon outlining and specular highlighting of the texture. YellowBall.gif (1025 bytes)Shadow projections. Redball.gif (1027 bytes)This shows an example of generating a shadow on the entire complex scene.
tg-shadow3
tg-spheremap
tg-parabolicmap
Redball.gif (1027 bytes)This shows an example of generating a shadow of the entire complex scene. Redball.gif (1027 bytes)This actually shows one method of converting from a cube (environmental) map to a sphere map. Redball.gif (1027 bytes)This actually shows one method of converting from a cube (environmental) map to a dual paraboloid map.
tg-clr-persp
tg-dual
Redball.gif (1027 bytes)This sample shows how to rasterize vertex colors using color texture coordinates generation hardware. YellowBall.gif (1025 bytes)This shows some methods of two-step conversion of texture coordinate generation.

Textures

tex-fmt-cube
tex-fmt-tpl
tex-filter
GreenBall.gif (1026 bytes)Texture format. GreenBall.gif (1026 bytes)Texture format. GreenBall.gif (1026 bytes)Texture filter mode.
tex-lod
tex-wrap
tex-layer
YellowBall.gif (1025 bytes)High-level LOD control mode. GreenBall.gif (1026 bytes)Texture wrap mode. GreenBall.gif (1026 bytes) Multi-texture feature.
tex-2-tex
tex-tc-alloc
tex-preload
YellowBall.gif (1025 bytes) Multi-texture feature. Redball.gif (1027 bytes)Controlling the texture cache region. YellowBall.gif (1025 bytes)Preloading a texture.
tex-mix-mode
tex-invalid
tex-tlut
Redball.gif (1027 bytes)How to use pre-loaded and cached textures. Redball.gif (1027 bytes)Function to disable the texture cache. Redball.gif (1027 bytes)Color index texture of any TLUT size.
tex-tlut32
Redball.gif (1027 bytes)Sample that realizes a 32-bit palette for the TEV2 stage.

Texture Environment (TEV)

tev-one-op
tev-swap
tev-multi
YellowBall.gif (1025 bytes)Color composition algorithm that uses a single TEV stage. YellowBall.gif (1025 bytes)Introduction of various TEV swap modes. YellowBall.gif (1025 bytes)Tests multiple TEV stages.
tev-complex
tev-outline
tev-ztex
Redball.gif (1027 bytes)Executes an example of multi-texturing using a complex TEV configuration. Redball.gif (1027 bytes)Tests the cartoon outlining feature. Redball.gif (1027 bytes)Shows how to use Z textures.

Conversions

tf-pn-mtx
tf-tg-mtx
tf-stitch
GreenBall.gif (1026 bytes)Default matrix layout for geometry and normals. GreenBall.gif (1026 bytes)Texture coordinate generation using all default matrices. YellowBall.gif (1025 bytes)Uses indexed matrices for switching lighting geometries.
tf-reflect
tf-mirror
tf-clip-bug
YellowBall.gif (1025 bytes)Reflection mapping. YellowBall.gif (1025 bytes)Renders the geometry for a reflected view point. YellowBall.gif (1025 bytes)Sample of clipping problems.

CONFIDENTIAL