OpenGL GPU Smoke simulation |
Thursday, 25 November 2010 | |||
GPUs are making this the era of high powered desktop computing and to prove the point what about a nice example of fluid simulation - video and code included.
The idea is to get close to the physics by solving the Navier-Stokes equation so the smoke you see swirling around the cylinder isn't just a special effect but a simulation of the fluid flow. Watch the video to see how it performs. It is worth mentioning that the video is a representation of the simulation in realtime - that is it is what you see when you run the program.
You can read more about the technical details at The Little Grasshopper. The code, which the author has placed in the public domain, is also available for Visual Studio 2010 and gcc. If you are interested in fluid simulation this is a good place to start.
OpenGL Smoke Simulation from Philip Rideout on Vimeo. .
Other relevant articles:GPU brings molecular modeling to the desktop EC2 GPU cracks passwords on the cheap Amazon extends options for high performance cloud computing Custom Bitmap Effects - Getting started
<ASIN:0596804822> <ASIN:0321228324> <ASIN:0321335597> <ASIN:0321515269> |
|||
Last Updated ( Thursday, 25 November 2010 ) |