The Ray Tracer Challenge - 021 - Shadow Casting
ฝัง
- เผยแพร่เมื่อ 27 ก.ค. 2024
- Raytracer now with 100% more shadows. Shadow casting makes every rendered scene much more lifelike and adds to the feeling of depth.
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
00:44 - Recap
02:15 - Shadow Casting Introduction
03:41 - Phong Lighting Recap
05:20 - When a shadow is casted
07:15 - Refactor Material to support in_shaddow
23:23 - Already finished?
35:06 - Animated Light and Shadow
36:27 - Outro
38:17 - Quick Bytes
#raytracer #rustlang #shadows - วิทยาศาสตร์และเทคโนโลยี
I like how you are happy about the result.
Keep on going.
What's your VSCode theme?
I am using the Cobalt2 theme together with the Fluent Icons addon.