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

https://github.com/jsoulier/ray_tracing_in_one_weekend

Ray Tracing In One Weekend using SDL3 GPU with compute shaders
https://github.com/jsoulier/ray_tracing_in_one_weekend

c glsl raytracing sdl sdl3 shaders

Last synced: 20 days ago
JSON representation

Ray Tracing In One Weekend using SDL3 GPU with compute shaders

Awesome Lists containing this project

README

        

# Ray Tracing In One Weekend

![](image.bmp)

Implementation of [Ray Tracing in One Weekend](https://raytracing.github.io/) using the new SDL3 GPU API with compute shaders

### Building

#### Windows

Install the [Vulkan SDK](https://www.lunarg.com/vulkan-sdk/) for glslc

```bash
git clone https://github.com/jsoulier/ray_tracing_in_one_weekend --recurse-submodules
cd ray_tracing_in_one_weekend
mkdir build
cd build
cmake ..
cmake --build . --parallel 8 --config Release
cd bin
./rtiow.exe
```

#### Linux

```bash
sudo apt install glslc
```

```bash
git clone https://github.com/jsoulier/ray_tracing_in_one_weekend --recurse-submodules
cd ray_tracing_in_one_weekend
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --parallel 8
cd bin
./rtiow
```