Ray tracing glTF scene with Vulkan
This project is a glTF 2.0 sample viewer using Vulkan ray tracing. It follows the ray tracing tutorial and combines all chapters into a single example.
The lighting equation is based on:
The rendering pipeline can be switched from:
Controls
Action | Description |
---|---|
LMB |
Rotate around the target |
RMB |
Dolly in/out |
MMB |
Pan along view plane |
LMB + Shift |
Dolly in/out |
LMB + Ctrl |
Pan |
LMB + Alt |
Look around |
Mouse wheel |
Dolly in/out |
Mouse wheel + Shift |
Zoom in/out (FOV) |
Space |
Set interest point on the surface under the mouse cursor. |
F10 |
Toggle UI pane. |
Change glTF model
.gltf
or .glb
) into viewerChange HDR lighting
.hdr
) into viewergit clone --recursive --shallow-submodules https://github.com/nvpro-samples/nvpro_core.git
git clone https://github.com/nvpro-samples/vk_raytrace.git
Tags:
Extensions:
Model | Link |
---|---|
2 Cylinder Engine | |
Alpha Blending | |
Anisotropy | |
Antique Camera | |
Boom Box | |
Carbon Fiber | |
Clear Coat | |
Corset | |
Damaged Helmet | |
Flight Helmet | |
Metal Rough Spheres | |
Punctual Light | |
SciFi | |
SpecGlossVsMetalRough | |
Unlit | |
Transmission | |
Box Vertex Color |