/TreeGen

A project about real-time procedural tree generation and rendering.

Primary LanguageC++

TreeGen

forest

Showcase Video

video

A standalone procedural tree generation and rendering application developed for my bachelor's thesis.

It uses:

  • C++20
  • OpenGL 4.6
  • ImGui

The tree generation algorithm is an improved real-time version of "Self-organizing tree models for image synthesis", Wojciech Palubicki et al.

The renderer is a raymarching/forward rendering hybrid. Generated trees branches are converted to 3D quadratic bezier curves and rendered using raymarching. More detailed information can be read from the thesis paper.