Skip to content

CPU ray tracer & path tracer with importance sampling, next event estimation, Russian Roulette & depth of field support.

License

Notifications You must be signed in to change notification settings

ancarofl/ag-path-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ag-path-tracer

CPU Path Tracer developed between December 2018 and January 2019 as the final assignment of the Advanced Graphics (INFOMAGR) 2018-2019 course at UU. The PT was built on top of a ray tracing framework using a BVH as an acceleration structure, previously developed for the same course.

Currently supported features:
-Primitves: plane, sphere, triangle, triangle mesh
-Materials: Lambert, pure specular, dielectrics, Phong
-Importance Sampling (Cosine Weighted Indirect Illumination and Next Event Estimation)
-Russian Roulette
-Filtering
-(basic) Depth of Field
-(basic) Skybox

Some 512x512 scenes rendered using the framework:
Cornell box
Cornell box
Snowmen scene
Snowmen scene

Branches:
master: stable CPU path tracer version which was submitted.
master-rt: stable previous version of the project; Whitted-style ray tracer + BVH.
development: current development branch.

About

CPU ray tracer & path tracer with importance sampling, next event estimation, Russian Roulette & depth of field support.

Topics

Resources

License

Stars

Watchers

Forks

Languages