Unverified Commit cd1c2b6a authored by Hesper Yin's avatar Hesper Yin Committed by GitHub
Browse files

Update dielectrics_and_transmission.md

parent 181de17b
......@@ -10,7 +10,7 @@ permalink: /pathtracer/dielectrics_and_transmission
The [Fresnel Equations](https://en.wikipedia.org/wiki/Fresnel_equations) (another [link](http://hyperphysics.phy-astr.gsu.edu/hbase/phyopt/freseq.html) here) describe the amount of reflection from a surface. The description below is an approximation for dielectric materials (materials that don't conduct electricity). In this assignment you're asked to implement a glass material, which is a dielectric.
In the description below, ![dielectric_eq1](dielectric_eq1.png) and ![dielectric_eq2](dielectric_eq2.png) refer to the index of refraction of the medium containing an incoming ray, and the zenith angle of the ray to the surface of a new medium. ![dielectric_eq3](dielectric_eq3.png) and ![dielectric_eq4](dielectric_eq4.png) refer to the index of refraction of the new medium and the angle to the surface normal of a transmitted ray.
In the description below, <img src="dielectric_eq1.png" width="20"> and ![dielectric_eq2](dielectric_eq2.png) refer to the index of refraction of the medium containing an incoming ray, and the zenith angle of the ray to the surface of a new medium. ![dielectric_eq3](dielectric_eq3.png) and ![dielectric_eq4](dielectric_eq4.png) refer to the index of refraction of the new medium and the angle to the surface normal of a transmitted ray.
The Fresnel equations state that reflection from a surface is a function of the surface's index of refraction, as well as the polarity of the incoming light. Since our renderer doesn't account for polarity, we'll apply a common approximation of averaging the reflectance of polarizes light in perpendicular and parallel polarized light:
......@@ -28,4 +28,4 @@ Alternatively, you may compute![dielectric_eq8](dielectric_eq8.png) using [Schl
## Distribution Function for Transmitted Light
We described the BRDF for perfect specular reflection in class, however we did not discuss the distribution function for transmitted light. Since refraction "spreads" or "condenses" a beam, unlike perfect reflection, the radiance along the ray changes due to a refraction event. In your assignment you should use Snell's Law to compute the direction of refraction rays, and use the following distribution function to compute the radiance of transmitted rays. We refer you guys to Pharr, Jakob, and and Humphries's book [Physically Based Rendering](http://www.pbr-book.org/) for a derivation based on Snell's Law and the relation ![dielectric_eq10](dielectric_eq10.png). (But you are more than welcome to attempt a derivation on your own!)
\ No newline at end of file
We described the BRDF for perfect specular reflection in class, however we did not discuss the distribution function for transmitted light. Since refraction "spreads" or "condenses" a beam, unlike perfect reflection, the radiance along the ray changes due to a refraction event. In your assignment you should use Snell's Law to compute the direction of refraction rays, and use the following distribution function to compute the radiance of transmitted rays. We refer you guys to Pharr, Jakob, and and Humphries's book [Physically Based Rendering](http://www.pbr-book.org/) for a derivation based on Snell's Law and the relation ![dielectric_eq10](dielectric_eq10.png). (But you are more than welcome to attempt a derivation on your own!)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment