This post explains how a simple rope simulator works using OpenGL, Position-Based Dynamics (PBD), and compute shaders. The project is written in C++ and runs completely on the GPU. The goal is to simulate a rope that reacts to forces like gravity, stretches under tension, and can break when pulled too far. Features Feature Included… Continue reading Rope Simulation with Position Based Dynamics
Homework 3 Particle Simulation
Sample I first started with the given sample since it was a decent starting point with physics and attractor logic implemented. While repeating the sample i tweaked some parts. A lot of them were trivial changes to accommodate incoming specifications, I want to mention one. Instead of using imageBuffers i replaced them with Shader Storage… Continue reading Homework 3 Particle Simulation