Giter Club home page Giter Club logo

vkoceanwaves's Introduction

vkOceanWaves


Description

Vulkan implementation of ocean waves in both DFT and FFT

It is now basically a well organized version of Discrete Fourier Transformation Ocean Wave. The base project (base.lib) from the SaschaWillems examples codebase was used as a framework to provide a wrapper of Vulkan APIs.

You can use mouse and wheel to navigate. For now I do not set any cull mode.

Performance

It is very slowly due to the algorithm - Discrete Fourier Transform (DFT). In the latest version I update it to the Fast Fourier Transform algorithm (FFT).

Mode FPS Device
Debug 120+ GPU(RTX 3050Ti Laptop) / CPU(Intel i7-11800H)
Release 300~ GPU(RTX 3050Ti Laptop) / CPU(Intel i7-11800H)
Debug 120+ GPU(RTX 3070 Laptop) / CPU(AMD R7 5800H)
Release 680~950 GPU(RTX 3070 Laptop) / CPU(AMD R7 5800H)

Notice

You can select your GPU in the line 870 in .\base01\vulkanexamplebase.cpp.

869     ...
870     uint32_t selectedDevice  = 0;
871     ...

The variable selectedDevice is 1 for default. You can change it to 0 in case:

  • You want to switch to another GPU
  • You only have only one GPU and the program crashes at the GPU selection.

wave ~ (The GPU will show on the window title and the control panel as well.)

vkoceanwaves's People

Contributors

alberthuang96 avatar kevinhuang-randomwalk avatar phoohow avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

phoohow

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.