DirectX SDK

Particle Sample

[Visual Basic]

This topic pertains only to application development in C and C++. DirectX for Visual Basic does not include support for the Direct3DX utility library.

[C++]

Description

The Particle sample demonstrates the use of billboard effects.

Path

Source: (SDK root)\Samples\Multimedia\D3dx\Src\Particle

Executable: (SDK root)\Samples\Multimedia\D3dx\Bin\Particle.exe

User's Guide

The following keys are used to control the display. NUM LOCK must be on.

Move W, S
Slide Arrows
Turn Numpad 4, 6
Pitch Numpad 2, 8
Change color SPACE
Toggle ground G
Toggle reflection R
Toggle location ENTER
Pause PAUSE
Exit ESC

Programming Notes

Each of the particles displayed is actually a billboarded face with a texture map applied. Lighting effects and reflections on the ground plane are implemented.

This sample uses the Direct3DX utility library helper classes.