So here's the sequel to "That's a lot of cubes", trying to teach myself some graphics skills ;)
You're looking at some simple particles physics running on the GPU, under C# and Managed DirectX. Turns out its pretty fast!
I'm using 1024*1024 textures for position and velocity, and calculate forces passing the mouse position to the shader. With some optimizations or better hardware, i could go up to 2048*2048 particles or more. That's just insane! ;)
Next up is computer-vision on the GPU combined with physics, so the particles will react to what the webcam sees. (ie. a GPU version of my Interactive Logo app)
oh and for those who are interested, this is running on an nvidia 8800 GT...
Cool?
siryouareaterd 9 months ago