Skip to content

About

Path tracer targeting correctness, not necessarily speed(though planning to port this to the GPU)

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Repository files navigation

CPU Path Tracer

This builds upon smallpt and borrows a few things from Ray Tracing in One Weekend:

  • The camera(I just couldn't understand all the magic constants in smallpt)
  • The formulas for dielectrics and lambertian reflection

I ultimately plan to port this to the GPU, but until then I need to sort out some other things:

  • Implement a BVH for fast intersection testing
  • Make the rendering process progressive
  • Probably replace the current method for random number generation(maybe something like a xorshift will be much faster)

Image with a bos of mirrors and a few spheres with a light

About

Path tracer targeting correctness, not necessarily speed(though planning to port this to the GPU)

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages