Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ratfactor/rayzz

Simple ray tracer in Zig
https://github.com/ratfactor/rayzz

Last synced: 3 months ago
JSON representation

Simple ray tracer in Zig

Awesome Lists containing this project

README

        

= Rayzz

**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 https://ziglang.org/[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
https://nostarch.com/computer-graphics-scratch[Computer Graphics from Scratch] by Gabriel Gambetta.
I'm learning a ton and enjoying myself very much.

This is what it can currently render:

image::images/foo2.tga.png[colorful spheres with point and ambient lights actually look like spheres]

This is what it rendered 10 months ago:

image::images/foo1.tga.png[colorful spheres that look like boring circles without any lighting]