All Projects → MauriceGit → Partikel_accelleration_on_gpu

MauriceGit / Partikel_accelleration_on_gpu

Licence: isc
Particle accelleration with OpenGL 4.3, using the compute shader to calculate particle movement on graphics hardware.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Partikel accelleration on gpu

Glchaos.p
3D GPUs Strange Attractors and Hypercomplex Fractals explorer - up to 256 Million particles in RealTime
Stars: ✭ 590 (+150%)
Mutual labels:  opengl, glsl, particles
Forge
High Performance Visualization
Stars: ✭ 140 (-40.68%)
Mutual labels:  opengl, glsl
Daemon
The Dæmon game engine. With some bits of ioq3 and XreaL.
Stars: ✭ 136 (-42.37%)
Mutual labels:  opengl, glsl
Gaiasky
Mirror of Gaia Sky repository hosted on Gitlab: https://gitlab.com/langurmonkey/gaiasky
Stars: ✭ 162 (-31.36%)
Mutual labels:  opengl, glsl
Crossshader
⚔️ A tool for cross compiling shaders. Convert between GLSL, HLSL, Metal Shader Language, or older versions of GLSL.
Stars: ✭ 113 (-52.12%)
Mutual labels:  opengl, glsl
Cute Deferred Shading
Cute little deferred shading implementation.
Stars: ✭ 129 (-45.34%)
Mutual labels:  opengl, glsl
Reshade
A generic post-processing injector for games and video software.
Stars: ✭ 2,285 (+868.22%)
Mutual labels:  opengl, glsl
Learn Opengl Golang
Learn OpenGL Tutorials in Go
Stars: ✭ 69 (-70.76%)
Mutual labels:  opengl, glsl
Sparkle
🎇 A modern particle engine running on GPU, using c++14 and OpenGL 4.4.
Stars: ✭ 162 (-31.36%)
Mutual labels:  opengl, glsl
Glsltuto
GLSL shaders tutorial
Stars: ✭ 168 (-28.81%)
Mutual labels:  opengl, glsl
Vim Glsl
Vim runtime files for OpenGL Shading Language
Stars: ✭ 184 (-22.03%)
Mutual labels:  opengl, glsl
Gdx Vfx
LibGDX post-processing visual effects
Stars: ✭ 105 (-55.51%)
Mutual labels:  opengl, glsl
Sildurs Shaders.github.io
Sildurs shaders website
Stars: ✭ 84 (-64.41%)
Mutual labels:  opengl, glsl
Shadows
Shädows - A Shadows & Lights engine for löve
Stars: ✭ 134 (-43.22%)
Mutual labels:  opengl, glsl
Craft
A simple Minecraft clone written in C using modern OpenGL (shaders).
Stars: ✭ 8,957 (+3695.34%)
Mutual labels:  opengl, glsl
Glsl
GLSL parser for Rust
Stars: ✭ 145 (-38.56%)
Mutual labels:  opengl, glsl
Inviwo
Inviwo - Interactive Visualization Workshop
Stars: ✭ 199 (-15.68%)
Mutual labels:  opengl, glsl
3d Game Shaders For Beginners
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
Stars: ✭ 11,698 (+4856.78%)
Mutual labels:  opengl, glsl
Facevfx
Mapping real-time visual effect to human face.
Stars: ✭ 68 (-71.19%)
Mutual labels:  opengl, glsl
Starwars.android
This component implements transition animation to crumble view into tiny pieces.
Stars: ✭ 1,942 (+722.88%)
Mutual labels:  opengl, glsl

Particle-Simulation using the GPU via the OpenGL Compute-Shader

This particle simulation is more like a proof of concept for myself or others, to show and understand how compute shaders in OpenGL work. Using the knowledge I gathered from this project, more complex, fascinating and fast projects are possible, which use the power of the graphics hardware for computations.

The final result looks like that:

Particle-Simulation

Animation

Each particle has a life span in which it fades from red (new born) to blue (about dying). When a particle dies, it respawnes in its negated (x,y,z) position.

The movement itself is computed using an Euler integration method for each particle.

There are several global randomly moving attraction points. Particles are attracted and accelerated by these points.

Example screenshots:

Particle-Simulation Particle-Simulation Particle-Simulation

Install && Run

I tested an ran this simulation on a debian-based Linux OS (Ubuntu, Mint, ...). It should run on other machines as well but is not tested.

System Requirements

The following system attributes are required for running this simulation:

  • A graphics card supporting OpenGL version 4.3 (For the compute-shader!).

  • Unix-Libraries: xorg-dev and mesa-common-dev

Both GLEW (The OpenGL Extension Wrangler Library) and GLFW (Window-Manager) are now included locally, so no system wide installation is necessary!

For a system wide installation, further information is available under the following links:

Running

Compiling and running should work under windows. OSX is not supported as the available OpenGL version does not reach 4.3. In the root directory, execute:

  • cmake .

  • make

  • cd bin/

  • ./particleSim

While the simulation runs, you can move around (always looking to the center!) with your mouse (left-klick and move) and zoom in/out with your mouse (right click and move up/down).

More Screenshots

So, here are some more screenshots, because screenshots are awesome :)

Particle-Simulation Particle-Simulation Particle-Simulation Particle-Simulation Particle-Simulation Particle-Simulation Particle-Simulation Particle-Simulation Particle-Simulation

You can find some more screenshots in the screenshot-folder: More Screenshots :).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].