Загрузка...

The Ray Tracer Challenge - 018 - The World Struct

Back to the raytracer basics. We are creating a struct to represent a whole Scene aka. a World as well as refactoring some calculations for speed.

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:23 - Recap
01:40 - Next up
03:02 - Creating a World
11:52 - Intersect with the World
19:35 - Precomputed Hits
22:08 - Intermission from the Future
23:49 - Doing it by the Book
36:29 - Lifetime of a ComputedIntersection
40:45 - Storing if a ray originates from within a body
47:03 - Shading the World
53:38 - Recap

#raytracer #rustlang #coding

Видео The Ray Tracer Challenge - 018 - The World Struct канала MrJakob
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять