Skip to content

tarptaeya/path_tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Path tracer

$ time ruby cover.rb
writing cover.ppm
[====================] 100%

real	10m12.298s
user	39m22.258s
sys	0m8.533s

Features

  • BVH acceleration
  • OBJ triangle mesh loading
  • Depth of field
  • Texture mapping
  • Antialiasing
  • Parallel processing
  • Primitives
    • Sphere
    • Triangle
    • Ground
  • Materials
    • Lambertian
    • Metal
    • Dielectric
    • Diffuse light

Installation

rake install

Credits

  • Ray tracing book series by Peter Shirley [Book]
  • Ray tracing from ground up [Book]