https://github.com/lackhole/blackhole_8
Real-time N-blackholes 3D renderer
https://github.com/lackhole/blackhole_8
Last synced: 2 months ago
JSON representation
Real-time N-blackholes 3D renderer
- Host: GitHub
- URL: https://github.com/lackhole/blackhole_8
- Owner: lackhole
- Created: 2022-11-14T15:15:07.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-30T13:45:04.000Z (over 2 years ago)
- Last Synced: 2025-02-16T11:15:15.606Z (4 months ago)
- Language: C++
- Homepage:
- Size: 34.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blackhole v.8
| 3D Ray Tracing | Blackhole with ordinary objects |
|:---------------------------------|---------------------------------|
|  |  || Blackhole with a thin accretion disc | With disc and a background |
|:-------------------------------------|:----------------------------------------------------------|
|  |  |
#### Full Video at [YouTube](https://www.youtube.com/channel/UCc4TIUDXIz1nJD0Xs1_iwUQ)## Requirements
* C++ 17
* CMake
* OpenCV
* ~~OpenCL~~## Build
```
cmake -B build
cmake --build build
```## Run
#### Ray tracing simulation (without a blackhole)
```
./build/ray_tracer_test
```
#### Single blackhole simulation
```
./build/blackhole_solution_test
```### Camera Control(Experimental)
W: move forward
S: move backward
A: move left
D: move right
Z: move up
X: move down
Q: flip left
E: flip right
I: look down
K: look up
J: look left
L: look right
Press with shift: Move/Flip/Look faster-: Decrease FoV
+: Increase FoV#### * Press ESC to quit
## Old version
* [Fixed camera-blackhole simulator](https://github.com/lackhole/blackhole_6)
* Faster, but limited positions## OpenCL support
In progress## Multiple blackholes
In progress