Triton
Visual simulation library for ocean rendering.
Classes | Enumerations
Ocean.h File Reference

Triton's Ocean model interface. More...

#include "Environment.h"
#include "WakeGenerator.h"
#include "RotorWash.h"
#include "TidalStreamWake.h"
Include dependency graph for Ocean.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Triton::TritComplex
 A structure describing a complex number, for use in Environment::OverrideFFTInputArray. More...
 
class  Triton::Ocean
 The Ocean class allows you to configure and draw Triton's water simulation. More...
 

Enumerations

enum  Triton::WaterModelTypes { }
 Enumerates the different water models available for simluating ocean waves. More...
 
enum  Triton::Shaders
 Enumerates the different shader programs used internally by Triton.
 
enum  Triton::OceanQuality
 Enumerates the ocean quality settings used in Ocean::SetQuality()
 

Detailed Description

Triton's Ocean model interface.

Enumeration Type Documentation

◆ WaterModelTypes

Enumerates the different water models available for simluating ocean waves.

Enumerator
PIERSON_MOSKOWITZ 

Tessendorf's ocean wave model with the Phillips wave spectrum, using fast Fourier transforms to simulate large numbers of waves at once.

Good for open ocean when you value speed over accuracy.

JONSWAP 

An FFT-powered Pierson-Moskowitz wave spectrum.

Produces accurate waves that assume an infinite wind fetch.

UNKNOWN_WATERMODEL 

The most accurate wave model, which takes wind fetch length into account.

FFT-powered so it's still fast, but it responds more slowly when the wind conditions are changed.