Completed Black Hole README.md
This commit is contained in:
parent
0eb8f5f307
commit
4c79c7ebea
1 changed files with 18 additions and 0 deletions
18
README.md
18
README.md
|
|
@ -9,3 +9,21 @@ I'm writing this as I'm beginning this project (hopefully I complete it ;D) here
|
|||
4. [optional] try to make it run realtime ;D
|
||||
|
||||
I hope it works :/
|
||||
|
||||
|
||||
|
||||
Edit: After completion of project -
|
||||
|
||||
Thank you everyone for checking out the video, if you haven't it explains code in detail: https://www.youtube.com/watch?v=8-B6ryuBkCM
|
||||
|
||||
Quickly to run the file you should install opengl (GLFW) and OpenGL wrangler GLEW: https://glew.sourceforge.net/
|
||||
I'm on windows and used msys2 for installation though.
|
||||
|
||||
How the code works:
|
||||
|
||||
for 2D: simple, just run 2D_lensing.cpp with the nessesary dependencies installed.
|
||||
|
||||
for 3D: black_hole.cpp and geodesic.comp work together to run the simuation faster using GPU, essentially it sends over a UBO and geodesic.comp runs heavy calculations using that data.
|
||||
should work with nessesary dependencies installed, however I have only run it on windows with my GPU so am not sure!
|
||||
|
||||
LMK if you would like an in-depth explanation of how the code works aswell :)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue