https://github.com/calbabreaker/raytracing-cpp
CPU raytracing
https://github.com/calbabreaker/raytracing-cpp
Last synced: 12 months ago
JSON representation
CPU raytracing
- Host: GitHub
- URL: https://github.com/calbabreaker/raytracing-cpp
- Owner: Calbabreaker
- License: mit
- Created: 2021-09-06T12:45:58.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-23T05:02:53.000Z (over 4 years ago)
- Last Synced: 2025-04-06T05:32:46.842Z (about 1 year ago)
- Language: C++
- Size: 534 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raytracing
Does ray tracing and outputs an image.
## Building
Make sure to clone the repository recursively to get the submodules:
```
git clone https://github.com/Calbabreaker/raytracing --recursive --shallow-submodules
```
### Unix
You need to have a c++ compiler, cmake and make installed.
This will compile and run the code:
```sh
make run
```
By default it will compile in Release but you can compile it in Debug like this:
```sh
make clean # clean first
make run BUILD_TYPE=Debug
```