3D N-body particle engine in C++ using OpenGL and GLFW. The goal of this project is to create a fast, easy to use and fully customizable N-body particle simulator in 3D, using the Barnes-Hut algorithm.
To compile and run you need the following:
- A GPU with OpenGL 4.5 (or higher) support;
- G++ and GLFW 3 installed on your machine.
protobuf-compiler
Run make
to compile the project.
./mercury [-v (verbose)] [-f (log to file)]