Platform SDK: DirectX |
This topic pertains only to application development in C++. See Direct3D Immediate Mode Visual Basic Samples.
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.
Source: (SDK root)\Samples\Multimedia\D3dim\Src\Boids
Executable: (SDK root)\Samples\Multimedia\D3dim\Bin\Boids.exe
Press F1 to see available commands, or choose from the menu.
The Boids sample demonstrates the fundamentals of creating a 3-D environment and animating a group of objects in it.