Загрузка...

The Ray Tracer Challenge - 025 - REPL

A Webassembly and Webworker based live rendering REPL of the Raytracer Challenge in Rust.

Link: http://raytracer.xyz

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

0:00:00 - Intro
0:01:26 - Welcome
0:02:29 - raytracer.xyz
0:05:48 - Features
0:10:04 - A look under the hood
0:10:57 - Cargo Configuration
0:16:23 - Exported Webassembly Interface
0:22:01 - Errors from Rust to JavaScript
0:26:38 - The "render" function
0:31:41 - Compiing and starting the Dev Server
0:32:59 - Webassembly Package
0:34:32 - How the WASM Module is built
0:36:21 - What wasm-pack creates for us
0:42:03 - The Webworker running the show
0:48:22 - Calling the render function within Rust
0:54:29 - Managing Parallel Webworkers: RenderPool
1:03:08 - Crude Render Times
1:05:59 - It is Open Source, of course!
1:10:15 - Outro

#raytracer #webworker #webassembly

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