Skip to content

etandel/zcharles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

zcharles is is a small project to learn about Zig and ray tracing in general. It renders a PPM image of a hardcoded scene.

The code is based on the excellent Ray Tracing in One Weekend

Building

zig build --release=fast

Running

Running with defaults:

./zig-out/bin/zcharles > default.ppm

Running with all parameters:

./zig-out/bin/zcharles --output=rendered.ppm --image_width=1200 --samples_per_pixel=500 --max_depth=5

License

All code is licensed under the MIT license. See file LICENSE for more details.

About

A Ray tracer in zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages