Skip to content

Path-Tracing project for a Computer Graphics class

License

Notifications You must be signed in to change notification settings

to-mas-kral/sonic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonic

Path-Tracing project for a Computer Graphics class.

Techniques / features

  • Path tracing:
    • Path is extended randomly at each intersection based on the BRDF.
    • At each path vertex, a light is randomly sampled and its contribution is weighted using MIS.
  • Spectral path-tracing, mainly using the techniques from PBRTv4.
  • Scenes are loaded using PBRTv4's format
    • Many shapes, texture types etc are not supported
  • Ray-tracing using Intel's Embree library.
  • Support for multiple shapes: triangles and spheres.
  • A few BxDFs are implemented:
    • Diffuse BRDF
    • Smooth and rough conductor (metal) BRDFs
    • Smooth dielectric BSDF
    • Smooth and rough plastic BRDFs
      • Simple analytic 2-layer material
  • Support for bitmap textures.
  • Environment map lighting with importance sampling.
  • The renders are saved in HDR using the EXR file format.

Gallery

WaterColor

This scene was made by Angelo Ferretti.

WaterColor

Landscape

This scene was made by Laubwerk

WaterColor

Coffee

All scenes shown below were taken from Benedikt Bitterli's Rendering Resources.

coffee

Staircase staircase

Spaceship Spaceship

Kitchen kitchen

Cornell Box cornell-box

Veach MIS veach-mis

About

Path-Tracing project for a Computer Graphics class

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages