TexelBox / wave-tool

C++/OpenGL tool for realistic ocean wave rendering. Originally developed as a winter 2020 term project for CPSC591 @ University of Calgary.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WaveTool

C++/OpenGL tool for realistic ocean wave rendering. Originally developed as a winter 2020 term project for CPSC591 @ University of Calgary.


Screenshots

screenshot-1

screenshot-2

screenshot-3

screenshot-4

screenshot-5

screenshot-6

screenshot-7

screenshot-8


[WIP]


Aaron Hornby
10176084


based on my other repo...


Supported compilers

Minimum versions:

  • GCC (libstdc++) 7
  • Clang (libc++) 6
  • MSVC (MSVC Standard Library) 19.14 (VS 2017 15.7)
  • Apple Clang 10.0.0
  • note: all C++17 core language features are supported by these compilers, but some library features are unsupported.

Cloning

easiest (preferred) method:

git clone --recursive https://github.com/TexelBox/wave-tool.git

or (if you did a normal clone already (first two lines below)...)

git clone https://github.com/TexelBox/wave-tool.git
cd wave-tool/
git submodule update --init --recursive

Building (currently for developers only)

  • note: the enforced generators by the scripts are "Visual Studio 2017"/"Visual Studio 2017 Win64" and "Unix Makefiles" for their respective platforms. I won't be testing this repository with any other generator (use cmake --help for a list), but anybody can try using cmake manually to see if another generator works.

Windows:

  • double-click or use your favourite terminal to run
dev-build-all.bat
  • note: you may have to run ./dev-build-all.bat or .\dev-build-all.bat instead (depending on your shell).

Linux/Mac:

  • use your favourite terminal to run
./dev-build-all.sh
  • note: executing this way defaults to using bash.
  • note: if for some reason the script is non-executable, then run the script through an interpreter (only bash and dash are tested, but you can try others).
bash dev-build-all.sh

or add executable permissions and then run

chmod +x dev-build-all.sh
./dev-build-all.sh

Running

For users...

Windows:
  • for best performance, double-click/run wave-tool.exe in either x86/Release (32-bit) or x64/Release (64-bit).
Linux/Mac:
  • for best performance, double-click/run wave-tool in build/Release.

For developers...

Windows:
  • if using VS2017, open either x86/wave-tool.sln or x64/wave-tool.sln and click the green arrow (you can also change the build config with the drop-down - use Debug when you need the debugger and Release when testing for performance).
Linux:
make
./wave-tool

Dependencies

Many thanks to the contributors of the following projects! Please check them out!


References


enjoy!
😉


About

C++/OpenGL tool for realistic ocean wave rendering. Originally developed as a winter 2020 term project for CPSC591 @ University of Calgary.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 73.0%Language:GLSL 19.6%Language:CMake 4.5%Language:Batchfile 1.2%Language:Shell 1.1%Language:JavaScript 0.6%