Skip to content

fanbinnet/OpenGL_ParticleSystem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 90.5%
  • C++ 8.9%
  • Other 0.6%