Dev:Source/Textures/Ocean Simulator
Ocean Simulator
Introduction
This project is an effort to simulate a realistic deep ocean swell using a fourier transform method. It does this by displacing the Z component of each vertex that the effect is applied to. It is similar in operation to the wave effect but more realistic when simulating patches of large oceans.
Currently the effect displaces verticies however work is being done to add a texture effect, allowing the artist to use a calculated FFT ocean as a specular or normal map and so allowing fine wavelet resolution.
Features
This is a list of the current features for the Mesh Effect:
- Can displace X & Y components of each vector
- Has a selectable FFT sample resolution
- FFT is easily mapped to local object coordinates
- Uses the fast FFTW library for fast simulation
The current/expected List of freatures for the Texture Effect:
- Can be used as a intensity and normal map
- Can be linked to an Ocean FFT effect on an object containing the effect
- Has similar controls comparable with the mesh Effect
- Allows fine grained detail in the FFT array to be seen, giving a more realistic ocean
Bugs and TODO
Here is a list of the bugs and features that need to be added:
- Need to add choppy wave algorthm from ChEngine
- Need to add more wave parameters
I am currently doing this in my spare time so development is erratic but I am making _slow_ progress. It should hopefully be finished by the beginning of next year.
This project is currently frozen until ModBlender has been released, development will resume until that has been completed
Kind Regards
SH