PATH TRACER This is a path tracer implemented in WebGL. This page may take some time to load because of WebGL. This instance of path tracer displays fresnel equation implementation. It also allows camera motion on mouse click movements.

Fresnel equations describe the reflection and transmission of rays through an object. In essence, when the rays reach the boundary of two different materials then part of the wave is reflected and part is refracted. We use Russian roulette technique which determines either to refract or reflect based on the fresnel transmission coefficient.
The direction of reflected ray is computed based on the laws of reflection, and the direction of refracted ray follows the Snell’s law with respect to the incident angle.

No comments:

Post a Comment