ShadowEngine is a CUDA-based ray tracing and visualization engine for simulating and rendering images of black holes. This project aims to provide a flexible and efficient framework for exploring the gravitational lensing and visual effects around black holes using ray tracing techniques.
- Real-time ray tracing simulations of black holes and their surroundings.
- Visualization of gravitational lensing, accretion disks, and other astrophysical phenomena.
- CUDA acceleration for high-performance simulations.
Before you begin, ensure you have met the following requirements:
- CMake
- CUDA Toolkit
- OpenGL
- GLUT
To build and run the ShadowEngine project, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/ShadowEngine.git
-
Navigate to the project directory:
cd ShadowEngine
-
Create a build directory:
mkdir build cd build
-
Configure the project with CMake:
cmake ..
-
Build the project:
make
-
Run the executable:
./ShadowEngine
-
Use the following keys to control the camera:
- 'a' and 'd': Move the camera closer to or farther from the black hole.
- 'w' and 's': Adjust the camera's view angle (look up or down).
- 'q' and 'e': Rotate the camera counterclockwise or clockwise.
- 'ESC' key: Exit the application.
-
Interact with the application to explore the black hole environment and visualize gravitational effects.
This project is licensed under the MIT License - see the LICENSE file for details.