Autumn Leaves

This graphical demo uses OpenGL/CUDA interop functionality to both draw and advance a simulation for each leaf on the GPU with no transfers to or from the host. Thousands of leaves can be rendered at realtime rates.

Gusts of wind periodically blow by, applying force and torque to each falling leaf. Fallen leaves are rendered into a 1GB FBO and persist on the forest floor.


Source:   3.97 MB

See also: Distributed Behavioral Models with CUDA