Real-time ray tracing tutorial series using NVIDIA OptiX 7

January 14, 2021
View code

A ray tracing tutorial series for OptiX 7 starting from the basics and covering advanced topics from materials and real-time animation

Real-time ray tracing tutorial series using NVIDIA OptiX 7

Tutorials

Getting started

Getting started

Configure OptiX, setup a shader binding table, and write a ray-generation and ray-miss program to render a background gradient

View tutorial
Rendering a triangle

Rendering a triangle

Write vertex data to the GPU, build a geometry acceleration structure (GAS), and write a closest-hit program to render a single triangle

View tutorial
Light sources and basic shading

Light sources and basic shading

Use an instance acceleration structure (IAS) to combine triangle meshes and spheres to create a scene with ambient, diffuse and specular lighting

View tutorial

Advanced shading: shadows

Introduce a second ray type, define occlusion shaders, and move the light source to cast dynamic shadows

View tutorial

Resources