View on GitHub

exploding_bunny

Basic OpenGL app that shows the explosion effect of an object using C++ and GLSL geometry shader.

Exploding Bunny

OpenGL app that shows the explosion effect of an object using C++ and GLSL. Most of the computations are performed in the geometry shader. It uses the parametric coordinates of the triangles for subdividing them N times and translate the new produced vertices over time. It uses the centroid of the triangles as reference for the direction vectors of traslation for each new vertex.

Video Demo Link https://youtu.be/FPhnLEm4NMk

Exploding Bunny Image

GLSL Program Description

General description of the code. You can find also comments in all shader files.