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!
Become a patron to
Tiers
Curious Patcher 👀

Thank you for your support!
With this pledge you are supporting Amazing Max Stuff in the creation of new learning material, and you get:
- Access to all my 4€ patches.
- Access to my Discord channel where you can suggest me video or patches content or pose questions, and interact with the other patrons.
After you supported the channel for more than 20€ in your pledge lifetime, you will be invited into a special Discord channel, where I share the Fidelity Folder that contains all the patches I ever created.
So it pays back to stick around for a while!
Professional Patcher 💪

Thank you so much for the awesome support!
With this Tier you get:
- Access to all my 8€ patches, which are more complex than the tiers below.
- Access to my Discord channel where you can suggest me video or patches content or pose questions, and interact with the other patrons.
After you supported the channel for more than 20€ in your pledge lifetime, you will be invited into a special Discord channel, where I share the Fidelity Folder that contains all the patches I ever created.
So it pays back to stick around for a while!
Top Supporter 🌟

Thank you so much for the incredible support!
Hope you can find the patches for this tier useful and interesting.
They are generally bigger and more complex patches, or works in progress on which I'm still working on.
- You've got all the benefits of lower tiers.
- Access to my 20€ more complex patches.
- Access to my Discord channel where you can suggest me video or patches content or pose questions, and interact with the other patrons.
After you supported the channel for more than 20€ in your pledge lifetime, you will be invited into a special Discord channel, where I share the Fidelity Folder that contains all the patches I ever created.
So it pays back to stick around for a while!
One-To-One Monthly On-Line Lesson 🎓

Thank you so much for this great pledge!
This grants you a one-to-one one hour online lesson per month. I can help you with your project or explain you some specific concept about visuals in Max. Before you apply for this tier let's have a short chat in which you explain me what I can help you with.
- You've got all the benefits of lower tiers, so access to all my patches.
- Access to my Discord channel where you can suggest me video or patches content or pose questions, and interact with the other patrons.
After you supported the channel for more than 20€ in your pledge lifetime, you will be invited into a special Discord channel, where I share the Fidelity Folder that contains all the patches I ever created.
With this tier you just need to join the Discord and I'll give you immediate access.