CNA Samples

3D Particles

Ported from Microsoft's XNA 4.0 3D Particles sample.

Source for this sample on GitHub ↗

A smoky orange ring of fire above a checkerboard floor. Play ▸

Opens in a new tab.

About this sample

Five GPU particle systems share a compiled effect to draw explosions, projectile trails, smoke and fire over a 3D grid. Switch scenes to see a smoke plume or a ring of fire; orbit and zoom the camera to examine the particles from different angles.

Controls

ActionKeyboardGamepad
Switch effectSpaceA
Orbit cameraArrow keys or W/A/S/DRight stick
Zoom out / inZ / XLeft / right trigger
Reset cameraRPress right stick
ExitEscapeBack