geo-particle

Description

geo-particle tests point size and line width using a simple particle system. Each particle can be a line or a point of various widths. This demo also tests texture points using GX_TO_ZERO. The color of each particle is point-sampled from a texture.

Coverage

Functions Parameters Description
GXSetPointSize width Specifies the width using a u8-type value. Specify a width value in 1/6 steps from 0 through 42.5.
tex_offsets Ignored (GX_TO_ZERO if texture is used).
GXSetLineWidth size Specifies the width using a u8-type value. Specify a width value in 1/6 steps from 0 through 42.5.
tex_offsets Ignored.

Using the Demo

PAUSE exits the test.

The main stick changes the orientation of the particle emitter.

The X button toggles the control mode.

    Particle Type Control

    Point Size Animation Control

The A button pauses the animation while pressed down.

The L/R button changes the point size.

Snapshot

Particle Type = Points
Size Animation = Animated - Growing Larger

<img src=" width="642" height="479">

Particle Type = Lines
Size Animation = Animated - Growing Larger

<img src=" width="641" height="480">

Particle Type = Texture Points
Size Animation = Constant per particle

<img src=" width="638" height="480">

Required Data Files

Requires geo-00.tpl from the $REVOLUTION_SDK_ROOT/dvddata/gxTests directory.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL