Platform SDK: DirectX

Boids Sample

[Visual Basic]

This topic pertains only to application development in C++. See Direct3D Immediate Mode Visual Basic Samples.

[C++]

Description

The Boids sample shows how to write a Direct3D application. Using a flocking algorithm, the sample moves a group of 3-D objects over a simple landscape.

Path

Source: (SDK root)\Samples\Multimedia\D3dim\Src\Boids

Executable: (SDK root)\Samples\Multimedia\D3dim\Bin\Boids.exe

User's Guide

Press F1 to see available commands, or choose from the menu.

Programming Notes

The Boids sample demonstrates the fundamentals of creating a 3-D environment and animating a group of objects in it.