3D gravity simulator
OpenGL, GLM, GLEW, GLFW
Optionally:
OpenCL (for faster physics computation)
CUDA (for faster physics computation) (use cmake -DENABLE_CUDA=ON
)
Here are some articles I used to implement rendering techniques, physics, etc:
On some platforms other than apple, you may need to force OpenGL context:
For example, on MESA open source Linux stuff, use: export MESA_GL_VERSION_OVERRIDE=3.3