Skip to content

Latest commit

 

History

History
28 lines (13 loc) · 587 Bytes

File metadata and controls

28 lines (13 loc) · 587 Bytes

gravitysim

3D gravity simulator

Requirements

OpenGL, GLM, GLEW, GLFW

Optionally:

OpenCL (for faster physics computation)

CUDA (for faster physics computation) (use cmake -DENABLE_CUDA=ON)

Maths

Here are some articles I used to implement rendering techniques, physics, etc:

Running Notes

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