GitHub

MOVED! Hello, I am moving my repos to http://ratfactor.com/repos/ and setting them to read-only ("archived") on GitHub. Thank you, -Dave

A raytracer in Zig.

NOTE 2013-08-09: This project is on hold until I get my project queue thinned out a bit! I’m committing some code that doesn’t work so I don’t lose it. To compile, go back a commit. -Dave

It can currently render a simple scene of spheres with point and ambient light. No shadows or reflectsion yet.

I’m working from the book Computer Graphics from Scratch by Gabriel Gambetta. I’m learning a ton and enjoying myself very much.

This is what it can currently render:

colorful spheres with point and ambient lights actually look like spheres

This is what it rendered 10 months ago:

colorful spheres that look like boring circles without any lighting

Read the original on github.com ↗