Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ahtonen/Blackhole

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-time Black Hole Rendering in OpenGL

Screenshot

Prerequisite

  • cmake, v3.5 or greater
  • conan, v1.xx package manager

You might need to configure $HOME/.conan/conan.conf and Conan profiles if the default profile is not generated due to different build environments on your distribution.

Note that only conan 1.xx is supported. For example 1.64 should work fine. The recommended way of installing conan is to first create a Python venv and finally install conan there via pip.

Finally, you might need to manually install some prerequisite X11 development libraries under administrative priviledges.

Build the code

# Configure the project and generate a native build system.
cmake -DCMAKE_BUILD_TYPE=Release -S . -B build

# Compile / build the project.
cmake --build build

Acknowledgements

Papers

  • Gravitational Lensing by Spinning Black Holes in Astrophysics, and in the Movie Interstellar
  • Trajectory Around A Spherically Symmetric Non-Rotating Black Hole - Sumanta
  • Approximating Light Rays In The Schwarzschild Field - O. Semerak
  • Implementing a Rasterization Framework for a Black Hole Spacetime - Yoshiyuki Yamashita

Articles

Other GitHub Projects

About

A blackhole simulation using OpenGL / C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 60.9%
  • C 27.5%
  • GLSL 10.0%
  • CMake 1.6%