DirectX Compute Particles Demo Running on NVIDIA CUDA-enabled GPU

55 740
320.3
NVIDIA1.69 млн
Следующее
09.04.09 – 33 4251:20
Nvidia® Ion™ Trailer
Популярные
14 дней – 181 6953:01
The Next Wave of AI: Physical AI
12.04.22 – 49 7381:47
Ready for Liftoff
Опубликовано 6 апреля 2009, 20:24
This sample demonstrates the use of the DirectX compute shader to simulate a large number of colliding particles. A parallel bitonic sort implemented in the compute shader is used to sort the particles into a uniform grid data structure so that the neighbors of each particle can be found quickly. The particles collide using a simple spring and damper model, but this code could be used as the basis of more sophisticated simulations such as smoothed particle hydrodynamics. The particles are rendered as spheres using the geometry and pixel shaders.
автотехномузыкадетское