Update for 10-11-22 20:45

This commit is contained in:
Tyler Perkins 2022-11-10 20:45:01 -05:00
parent 24128078c5
commit b89b5576fd

View File

@ -84,3 +84,36 @@ This method will output the _probability of a given outward direction_
Something like `probability of happening = f(incoming direction, point, outgoing direction)`. Something like `probability of happening = f(incoming direction, point, outgoing direction)`.
This is known as the _Bidirectional reflectance distribution function (BRDF)_. This is known as the _Bidirectional reflectance distribution function (BRDF)_.
What about materials that reflect some light allow some right through
(transmitted).
Properties of a transparent material
* Helmholtz-reciprocity
* direction of the ray of light can be reveresd
* This means the odds of the light bouncing from A to B are the same as the
odds of boucing B to A
* Positivity
* It is impossible for an exit direction to have a negative probability
* Energy conservation
* An object may reflect OR absorb incoming light, but no more light can come
out than the incoming amount
== Rendering equation ==
Sum of all light reflections and absorbtions at a point
Note that an object can emit light itself. It also receives light from
different directions, which it will either reflect or absorb. Therefore
`Light exiting = Emitted light + reflected incoming light`
AKA
{{{
Light output(x, vector w) = Light emitted(x, vector w)
+ Integral of (Light incoming to x from vector w * BRFD(vector w, x vector w
prime) cos theta dw
}}}