The Ray Tracer Challenge - 033 - Checkerboard and Ring Pattern
ฝัง
- เผยแพร่เมื่อ 27 ก.ค. 2024
- Adding a Ring and a Checkerboard patterns will be the last of the pattern implementations for now, before we go on to the next big thing :).
Check out, what can be done with the Checkerboard pattern in this short: • Tribute to the #amiga ...
Join me, while I implement chapter by chapter from the book "The Ray Tracer Challenge" by Jamis Buck in Rust a language completely new to me.
Come with me on the journey of learning the Rust programming language, while implementing a Ray Tracer in a Test driven fashion, to have fun and (hopefully) create some astonishing rendered graphics.
Let's study the inner workings of a Ray Tracer, and take a look under the hood of the Rust language, while taking on this challenge on a weekly basis.
All the code produced within this series is provided on github, for you to
follow along.
Github: github.com/jakobwesthoff/the_...
The Ray Tracer Challenge (affiliate): amzn.to/3xVssbR
Rust: www.rust-lang.org/
Contents
0:00:00 - Intro
0:01:04 - Recap
0:02:13 - raytracer.xyz
0:03:50 - Implementing a Ring Pattern
0:19:39 - Adding Ring Pattern to YAML World Loader
0:21:31 - Trying out the Ring Pattern
0:31:34 - Implementing Checkerboard Pattern
0:42:13 - YAML for Checkerboard Pattern
0:45:28 - Checkerboarding a Sphere
0:50:41 - Checkerboard only in 2D
0:53:28 - Implementing a 2D Checkerboard for real.
1:10:07 - Outro
#rustlang #raytracer #checkboard - วิทยาศาสตร์และเทคโนโลยี