• Stars
    star
    192
  • Rank 202,019 (Top 4 %)
  • Language
    C++
  • Created over 3 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.