Skip to content

Supplemental code accompanying Ray Tracing Gems II, Chapter 14: The Reference Path Tracer

Notifications You must be signed in to change notification settings

boksajak/referencePT

Repository files navigation

The Reference Path Tracer Code sample

This is a supplemental code accompanying Ray Tracing Gems II, Chapter 14: The Reference Path Tracer. Code is based on IntroToDXR and implements a path tracer described in the article. The sample application loads GLTF scenes, specified via command line. The core of the path tracer can be found in single HLSL file - PathTracer.hlsl.

"Reference Path Tracer

Command Line Arguments

  • -width [integer] specifies the width (in pixels) of the rendering window
  • -height [integer] specifies the height (in pixels) of the rendering window
  • -vsync [0|1] specifies whether vsync is enabled or disabled
  • -scene [path] specifies the file path to a GLTF model
  • -scenePath [path] optionally specifies the root folder where scene data files can be found

Licenses and Open Source Software

The code uses the following dependencies:

The repository includes assets for use when testing the renderer: Bathroom, by cenobi, licensed under a Creative Commons Attribution 3.0 License.

About

Supplemental code accompanying Ray Tracing Gems II, Chapter 14: The Reference Path Tracer

Resources

Stars

Watchers

Forks

Packages

No packages published