An open API service indexing awesome lists of open source software.

https://github.com/calbabreaker/raytracing-cpp

CPU raytracing
https://github.com/calbabreaker/raytracing-cpp

Last synced: 12 months ago
JSON representation

CPU raytracing

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
```