Skip to content

lucasfturos/BlackHoleInC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Black Hole in C

Um buraco negro feito em C

Instalação e Execução

Requisitos

  • CMake
  • GCC
  • Make
  • SDL2

Instruções:

  1. Clone o repositório:
git clone https://github.com/lucasfturos/BlackHoleInC.git && cd BlackHoleInC
  1. Crie a pasta build:
cmake -S . -B build && cd build
  1. Compile o programa:
make
  1. Execute o programa:
./src/Demo

Screenshot

Primeiro render

Segundo render

Referências

  1. Implementing General Relativity: Rendering the Schwarzschild black hole, in C++ - James (@20k)
  2. Path-Traced Black Hole - Zi7ar21
  3. Ray Tracing Black Holes - Eliot Han, Michael Tu, Alejandro Garcia

About

Buraco negro em C

Topics

Resources

Stars

Watchers

Forks