Ray Tracing 015Aperture

Summary

  • Updated camera class to take parameters for aperture and focus distance.
  • Added random_in_unit_disk() function and updated camera's ray function to include lens radius and offset.

Loading...

Links