3 ms·
As a complete physics noob, can I mod this to work in 3D? I.e. model a concave rigid body shape, and have the fluid flow around it?
by sokrates 12y ago
As a complete physics noob, can I mod this to work in 3D? I.e. model a concave rigid body shape, and have the fluid flow around it?
- haxiomic 12y agoThe mathematics generalizes to 3D quite easily, but the way the webgl pipeline is used in this case doesn't. It'd be easier I think to start from scratch. I recommend reading through the GPU Gem's article on the topic with code samples http://http.developer.nvidia.com/GPUGems3/gpugems3_ch30.html http://http.developer.nvidia.com/GPUGems3/gpugems3_ch30.html although the physics is discussed, you don't need to follow it deeply to implement it