Home

Awesome

OpenGL Grass Renderer

This project is a C++/OpenGL implementation of Responsive Real-Time Grass Rendering for General 3D Scenes. The project uses Bezier curves to represent individual grass blades. It uses compute shader to perform force simulation in Euler's method and perform various culling methods. Afterward the buffer of curves is passed to a tessellation shader to dynamically generate triangle geometry for grass blades.

demo image

Tested on:

Build instruction

This project uses CMake build system and Conan package manager. To successfully build the project, you need both tools installed. You can install conan through python pip:

$ pip install conan # Or pip3 on some linux distributions, use sudo if nessesory

After installing all the tools, build the project with the following CMake instructions.

$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make

Features

Q & A