Skip to content

OpenGl 3.3 based visualiser for noise functions and terrain generation

License

Notifications You must be signed in to change notification settings

Thanduriel/func-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

func-renderer

This is OpenGl 3.3 based renderer for noise functions to experiment with terrain generation. It uses expression templates to compose multiple height functions in compile time.

build

  • clone repo
  • update submodules
  • Use the CMakeLists.txt in the main folder to generate platform depend build files
  • build with toolchain of your choice tested: msvc2019, gcc 8.1.0

usage

A variaty of useful functions can be found in functions1d.hpp, functions2d.hpp and modifiers.hpp. Examples on how to combine and render them are located in scene.cpp. To display a specific scene change the type in main.cpp.

If you want to display 1D functions make sure to #define MODE2D in config.hpp, otherwise remove it.

further read

About

OpenGl 3.3 based visualiser for noise functions and terrain generation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published