The Ray Tracer Challenge - 014 - Raytracing a Sphere

preview_player
Показать описание
We are ready. This time we will raytrace our first Sphere. All the hard work has paid off.

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.

Contents

0:00:00 - Intro
0:00:42 - Recap
0:02:11 - Dynamic Dispatch for Intersections
0:08:53 - Enum Disptach
0:54:14 - Finding a Hit
1:31:34 - Implementing our first raytracing Scene
2:10:07 - Render our first raytraced sphere
2:17:27 - Adding a simple progress indicator
2:25:38 - Outro

#raytracer #rustlang #coding
Рекомендации по теме
Комментарии
Автор

Debug vs Release with 1024^2 canvas.
13.7 seconds for Debug.
0.3 for Release.

can't wait to see this parallelized :D

micahwithabeard
Автор

Ausgezeichnetes Projekt -- es macht viel Spass mitzumachen!

cszczepaniak