PROJECTS - PARTICLE SYSTEM

The project consisted of fire modeling and simulation. One of the multiple tools to accomplish this task is particles systems, it was a short time class project at the EPFL and my first contact with OpenGl so we decided this technique was the most suitable.

In the following video you can take a look to the final result

PROJECT STEPS

PARTICLE SYSTEM

A particle systems is a technique that comes from the 80's, it was very popular in films like "Star Treck" for fire simulation, this kind of models has experimented a huge evolution since then and nowdays we can easily found systems with millions of particle in order to simulate fluids, smoke, sand even rigid bodies like a whole city.

DESIGN

We wanted to achieve non realistic fire, something very common in games and films from the 80's and 90's, the prject time was a huge constraint and the objective of was not to achieve real simulation, it was the implementation of class adquired knowledge, so we decided to keep it simple, here you can see the UML diagram of the class structure.

IMPLEMENTATION

We implemented the system into a pure C++ framework given in class, using C++ for the particle behaviour and OpenGl for the rendering part, we achieve to show between 10.000 - 400.000 particles on the screen, applying different physics and shapes..

ADDING TEXTURE

The system was working good, but we were rendering just dots and lines, so to conclude the project we added texture and color effects. You can see a video of the system rendering fire, unfortunately the video screen capture program that was used was not working well and the final video is slightly slower than the system running.