fanbinnet / OpenGL_ParticleSystem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Particle System

This is a small particle system written in C++11/14 with OpenGL. It uses compute shader to compute the movement of the particles.

Keys

  • W, A, S, D - Moving the camera
  • E, Q - Adjusting the attractor's depth
  • Left mouse button - Activating the attractor mode (Camera does not move anymore)
  • Right mouse button - Activating the attractor as the source of gravity (Only in attractor mode)
  • Space - Toggle VSync
  • TAB - Toggle Fps in title bar. Only visible when in window mode.

Used Libraries

  • gl3w
  • GLFW 3.2.1
  • GLM 0.9.7.5

Errors and Problems

If no GLFW window can be created nor an OpenGL context then make sure you have got the latest graphics driver which supports OpenGL 4.3.

Comment

I started this project to learn OpenGL. It has been revised several times since the first commit. When there are bugs, design problems or inconsistencies please let me know.

You can use this code as you like for every purpose. It would be kind to mention my name "Stanislaw Eppinger" when you use it.

When you've got any questions regarding this particle system then you may contact me. Thank you, for your interest in this humble project! =)

About


Languages

Language:C 90.5%Language:C++ 8.9%Language:GLSL 0.5%Language:Makefile 0.1%