Need help with Phillips-Ocean?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Scrawk
165 Stars 31 Forks MIT License 9 Commits 0 Opened issues

Description

A ocean using Phillips spectrum in Unity

Services available

!
?

Need anything else?

Contributors list

# 78,511
C#
Unity
convex-...
fluid-s...
9 commits

Phillips-Ocean

This is a ocean project using Phillips spectrum to generate the waves. Some time around 2001 Jerry Tessendorf released a paper called 'Simulating Ocean Water' and in it he out lined all the methods and math need for simulating oceans. In this paper the math for using Phillips spectrum was outlined and I came across a blog that had converted the math to code.

His project was written in C++ so it was just a matter of converting that to a C# script for Unity. I have left all the math the same but have made some changes and restructured the code a bit and the Fourier transform now runs on its own thread resulting in a big performance increase.

Phillips Ocean

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.