 | Art and Science of Graphics & Compute Series |  |
Oh, you wanted one giant book? Adorable. Because nothing says ''fun'' like a 5,000-page brick that doubles as a doorstop. So, plot twist: that's not what happened. Instead, the series got split across multiple volumes. Shocking, right? Each one handles a specific area. You get to focus. Remember focus? It's that thing you misplaced around page 47. No more squashing everything into one bloated mess. No more pretending you’ll read the whole thing. Just pick the part you actually need, dive in, and maybe retain something. Less bloat. More brain.
• Volume 1: Primer
• Volume 2: Rendering
• Volume 3: Computing
• Volume 4: Simulations
• Volume 5: Ray-Tracing
The original series was grouped under the name 'Foundation of' - however, to avoid any confusion or overlap with other series - the graphics and compute series was instead grouped together under the name 'Art & Science' in later editions/updates.
 | Volume 5: Ray-Tracing |  |
The following gives a glimpse at some of the code examples inside the Ray-Tracing book.
Volume 5: Ray-Tracing
Chapter: Hello-World 'Ray-Tracer'
• mweuvwebgpu
• mweuvwebgpuinverty
• mweuvwebgpnuv
• mweuvwebgpraysphere
• mweuvwebgprayspherelight
• mweuvwebmultspheres
• mweuvwebsolarsystem
Chapter: Cameras
• rcamerabasic
• rcamerabasicorthoganal
• rcamerabasicorthoganalgridoverlay
Chapter: Ray-Object Intersections
• raytriangleinteporatecolorstest
• rayplaneintersectiontest
• rayplanegridintersectiontest
• raycubetersectiontest
• raycubeobbtest
• raycapsuletest
• rayellipsoidtest
• raytriangletest
Chapter: Lighting
• phonelightingtest1
Chapter: Shadows & Ambient Occlusion
• raysphereshadowssoft
• rayshardshadowstest
• rayssoftshadowstest
• rayssoftshadowscossampletest
• raysambientocclusion
Chapter: Reflections & Refractions (Glass & Mirrors)
• raysfresneleffectspheres
• rayindexofrefractionioftest
• rayreflectionrmirrorwalls
• rayreflectionrefractiontest2
• rayrecurssionreflectionrefraction
Chapter: Distribution (Distributed) Ray-Tracing
• distributionraytracing
• distributionraytracingdof
Chapter: Ray-Marching
• sdfbasics2dcircle
• sdfbasics2dshapes
• sdfbasics2dshapes2
• sdfbasics2dshapes3
• sdfbasics2dshapescolor
• sdfbasics2drayscolor
• sdfbasics3d
• sdfbasics3d2
• sdfbasics3d3
• sdfbasics3dgrid
• sdfbasics3dspheresonplane
• sdfbasics3dspheresonplane2
• sdfbasics3dpathtracer
• sdfbasics3dpathtracer2
• sdfbasics3dpathtracer3
Chapter: Path-Tracers
• pathtracingexample01
• pathtracerroomtest
• pathtracerreflectiontest
• pathtracerrefractiontest
Misc Tests (Signed Distance Functions - Instead of Explicit Ray-Intersections)
• pathtracertest1
• pathtracertest2
• sdfbasics3dpathtracer6
• sdfbasics3dpathtracer7indirect
• sdfbasics3dpathtracer5
• sdfbasics3dpathtracer4
Chapter: Fractal Shapes
• pathtracerjulietfractal
• sierpinskitetrahedronsdf
• mengerfractaldf
• pathtracermandelbrottest
• pathtracermandelbrottest2
• pathtracermandelbrottest3
Chapter: Procedural Texture Patterns
• textureplanarpatternstests
• volumetrictexturepatternstests
Chapter: Triangles and Meshes
• raytracebunnytriangles
• raytracebunnytriangleslongestaxistree
• raytracebunnytrianglesoctree2
• raytracebunnytrianglesoctreewireframebounds
• raytracebunnytriangleslongestaxistreewireframe
• raytracebunnytrianglesoctree
Misc Tests
Other mesh models - 16k (16+ thousand triangles ray-traced in real-time easily - with 60fps)
• octreejsonfloatingworld
GPU timing information
• octreejsonfloatingworld2
 | Resources & Links |  |
For a full range of links and demos visit WebGPU Lab.
|