Realistic Water Simulation in Max/MSP - Attempt 01
 
Dear Patrons,

I'm still in the process of studying computational fluid simulation, but I took two days off to implement this algorithm that simulate the motion of water surface using a simpler method (basically using sine waves).

The algorithm still doesn't give me the desired result, especially in the normals calculation, but it's as close as I could get in this short time. 

And it's in a state in which I think makes sens to share it.

To develop this I used this two resources: 

GPU Gems article from NVidia - 

https://developer.nvidia.com/gpugems/GPUGems/gpugems_ch01.html

and attached source code.

And this implementation in OpenGL: 

https://github.com/armanuguray/water-surface 

Hope you can find this useful, thanks for your support! 

Tier Benefits
Pledge $0 or more per month
Everyone
Recent Posts