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
- Host: GitHub
- URL: https://github.com/jsoulier/ray_tracing_in_one_weekend
- Owner: jsoulier
- License: unlicense
- Created: 2025-01-28T08:55:11.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-19T10:17:09.000Z (about 1 month ago)
- Last Synced: 2025-03-26T12:16:11.513Z (about 1 month ago)
- Topics: c, glsl, raytracing, sdl, sdl3, shaders
- Language: C
- Homepage:
- Size: 1.5 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Ray Tracing In One Weekend

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