The Ray Tracer Challenge - 029 - Degree Support
ฝัง
- เผยแพร่เมื่อ 27 ก.ค. 2024
- Just a quick session allowing us to provide transformations with degrees in addition to radians, to make our life significantly easier.
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
00:00 - Intro
01:00 - Recap
01:57 - What's the plan for this seesion?
05:32 - Implementing a 'degrees' field
15:44 - Let's try out the new code
17:16 - Writing a test for the change
23:13 - Outro
#rustlang #raytracer #math - วิทยาศาสตร์และเทคโนโลยี
Don't stop make videos! It's very informative for study rendering & Rust
Currently I am highly motivated to make more videos. Especially as I am having a lot of fun myself. Thanks for your kind words
I'm currently stuck in Chapter 11 on the transparency tests. :/ I got the reflections and patterns working but I'm not understanding the n1 n2 pseudo code very well.
As I haven’t tackled chapter 11 yet in this series, I can’t help with this, yet. However once I am implementing chapter 11, I will of course post the videos about it. Maybe those will help you to get an idea of what is going on then.