Skip to content
项目

jsoulier/ray_tracing_in_one_weekend

在 GitHub 查看

关于

Ray Tracing In One Weekend using SDL3 GPU with a compute shader

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Ray Tracing In One Weekend

Implementation of Ray Tracing in One Weekend using the new SDL3 GPU API with a compute shader

Building

Windows

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

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

Shaders

Shaders are precompiled. To build locally, add SDL_shadercross to your path

探索相关项目

加载中…