Build a Ray Tracer with Rust and wgpu

WebGPU is the novel graphics standard that makes it possible to implement high performance graphical applications on mobile, desktop and the web.
In this workshop, I guide you through the process of using Rust and WebGPU compute shaders for computer graphics applications whose needs go beyond the traditional rasterization pipeline.
Together, we will write a GPU-accelerated ray tracing renderer from scratch!

LEVEL: Intermediate

Place
Workshop #2
Length
180 min
When
November 9th, 2024
09:30

Abstract

WebGPU is the novel graphics standard that makes it possible to implement high performance graphical applications on mobile, desktop and the web. In this workshop, I guide you through the process of using Rustand WebGPU compute shaders for computer graphics applications whose needs go beyond the traditional rasterization pipeline.
Together, we will write a GPU-accelerated ray tracing renderer from scratch!

Unlike WebGL, WebGPU finally brings compute shaders to the web. For Rust, WebGPU is of particular interest, thanks to the Rust-based wgpu library that not only poses the core of Firefox's WebGPU implementation but can also be used as a native library to write cross-platform graphical Rust applications outside the web.

No prior knowledge of graphics programming is required, but we will make use of some linear algebra. We start with a top-level view of the graphics pipeline, where compute shaders fit into this and how this translates to the Rust wgpu library and the WebGPU standard respectively. Then, we learn what is required to bring a ray tracing application to the desktop first, using the native Rust wgpu library, and finally to the browser using WebAssembly.

Participants may use Windows, macOS or Linux, thanks to the cross-platform nature of wgpu.
The only requirements upfront are a working, up to date Rust development environment and up to date graphics drivers.
Both dedicated and integrated GPUs can be used (AMD, Intel, Nvidia, Apple Silicon).

RustLab is a conference made by Develer.
Develer is a company based in Campi Bisenzio, near Florence. Our motto is : "Technology to give life to your products". We produce hardware and software to create exceptional products and to improve industrial processes and people's well being.
In Develer we have passion for the new technologies and we offer our clients effective solutions that are also efficient, simple and safe for the end users. We also believe in a friendly and welcoming environment where anybody can give their contribution. This passion and this vision are what we've been driven to organize our conference "made by developers for developers".

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2024 RustLab | The international conference on Rust in Florence-Design & devCantiere Creativo-Made withDatoCMS