The Ray Tracer Challenge - 022 - Planes
Until now our only body type is a sphere. This episode we will introduce the next one: A Plane. Finally a real floor for our renderings.
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: https://github.com/jakobwesthoff/the_ray_tracer_challenge_in_rust
The Ray Tracer Challenge (affiliate): https://amzn.to/3xVssbR
Rust: https://www.rust-lang.org/
Contents
00:00 - Intro
00:17 - Recap
01:47 - Goal of this session
03:17 - Refactoring our Intersectable trait
18:41 - Implementing the Plane Intersectable
22:19 - Normal vector of a plane
24:44 - Intersection with a plane
30:49 - Adding enum dispatch for Plane struct
33:18 - Putting it all together
35:51 - Rendering a Plane
#raytracer #rustlang #plane
Видео The Ray Tracer Challenge - 022 - Planes канала MrJakob
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: https://github.com/jakobwesthoff/the_ray_tracer_challenge_in_rust
The Ray Tracer Challenge (affiliate): https://amzn.to/3xVssbR
Rust: https://www.rust-lang.org/
Contents
00:00 - Intro
00:17 - Recap
01:47 - Goal of this session
03:17 - Refactoring our Intersectable trait
18:41 - Implementing the Plane Intersectable
22:19 - Normal vector of a plane
24:44 - Intersection with a plane
30:49 - Adding enum dispatch for Plane struct
33:18 - Putting it all together
35:51 - Rendering a Plane
#raytracer #rustlang #plane
Видео The Ray Tracer Challenge - 022 - Planes канала MrJakob
Комментарии отсутствуют
Информация о видео
27 ноября 2021 г. 12:30:00
00:38:42
Другие видео канала