top of page

Ray Tracer with Realistic Lens Effects

  • Writer: zhiyuan zhang
    zhiyuan zhang
  • Dec 6, 2021
  • 1 min read

CS184 finaly project.

A Ray Tracer with Spectral Ray Tracing, Compound Lens Elements, Lens Flare, and Contrast Based Auto Focusing.

The parts that were done by me is spectral ray tracing and contrast based auto focusing.

spactrual ray tracing aim to use Monte Carlo method to simulate a spectual of light interact with diffrent object. In this project, the effect of this is demonstrated by the chromatic aberration caused by the inperfection of the lens design.

I also worked on the contrast based auto fucusing in tha simulated environment. Since the focusing plane of a realistic lens model is very complex, we use contrast based auto focusing to have a clear image what we are rendering. It is essentially a search algorithm with each value being measured by the variance of the focusing area.

A more detailed write up can be found at:



 
 
 

Comments


bottom of page