Platform SDK: DirectX |
This topic pertains only to application development in C and C++. DirectX for Visual Basic does not include support for the Direct3DX utility library.
The Gravity sample displays a cluster of particles swirling around the center of the universe.
Source: (SDK root)\Samples\Multimedia\D3dx\Src\Gravity
Executable: (SDK root)\Samples\Multimedia\D3dx\Bin\Gravity.exe
No user input is required.
This sample illustrates the fundamentals of creating a 3-D environment and animating a group of objects in it. A variety of lighting effects are used. The sample also demonstrates the shape creation methods and the Direct3DX matrix stack.
This sample uses the Direct3DX utility library helper classes.