• Home
  • About
    • Kieran Bond photo

      Kieran Bond

      A Software Developer from the West Country

    • Learn More
    • Email
    • Twitter
    • LinkedIn
    • Github
    • StackOverflow
  • Projects

Particle System - C++

Smoke effect

A particle system, written in C++ in an OpenGL framework provided by a lecturer.

This particle system was created for a University assignment, where the main aim is to learn how to create performant code and optimise said code.

Early Particles, before colour and the emitter were added

Whilst I didn’t get this Particle system utilising the GPU, I did get to the stages of using a memory pool/’pooling’ - which massively increased the performance, likely due to less allocations to memory throughout (instead just doing this in one big chunk).

Below is some snippets from the repository, mostly looking at the Particle class and the Emitter class.

Code Preview

Resources

KieranBond/Particle-System



portfoliogamesprogrammingparticlesc++particle systemabout Share Tweet +1