Git Product home page Git Product logo

fft_ocean_tile's Introduction

FFT_Ocean_Tile

This project comprises a modern adaptation of Jerry Tessendorf’s popular paper “Simulating Ocean Water”. The goal was to create a prototype of a single tile of realistic oceanic surface using C++ and DirectX11. The waves are generated procedurally in real time, initially storing data generated from the oceanographic model Philips Spectrum, and then calculating every frame the waves realization using the Fast Fourier Transform (FFT).

The scope of the project includes the implementation of the mathematical models for the generation of realistic wave shapes, shading using HLSL and DX11, optimisation using compute shaders, and creation of a customisable UI for artistic experimentation using ImGui. For the execution of the Fast Fourier Transform the FFTW library was used.

Configurations

To switch between versions, comment/uncomment the appropriate #define directives in the header Configurations.h.

To run the application from Visual Studio:

  • Set Solution Configuration to "Release x86".
  • Set AppOcean as StartUp Project.

To run as a standalone

  • Make sure the Assets folder is present.
  • Make sure libfftw3f-3.dll is present.

Next Steps

  • Test the performance of a GPU FFT implementation, to avoid costly data transfer to the CPU.
  • Implement distance-dependent tesselation and LODs.

Acknowledgements

  • This project was created as part of the module "Research and Development Project" of the Master's course Games Software Development at Sheffield Hallam University
  • The DirectX framework for this project was provided by Dr. David Moore

fft_ocean_tile's People

Contributors

nkapalos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.