Direction of Reflection
The direction of a reflected ray is determined by the vector of incidence and the surface normal vector. Given an incident direction from the surface to the light source and the surface normal direction the specularly reflected direction (all unit vectors) is:
where is a scalar obtained with the dot product. Different authors may define the incident and reflection directions with different signs. Assuming these Euclidean vectors are represented in column form, the equation can be equivalently expressed as a matrix-vector multiplication:
where is the so-called Householder transformation matrix, defined as:
denotes transposition and is the identity matrix.
Read more about this topic: Specular Reflection
Famous quotes containing the words direction of, direction and/or reflection:
“Our vices always lie in the direction of our virtues, and in their best estate are but plausible imitations of the latter.”
—Henry David Thoreau (18171862)
“She saw she had fallen into the hands of one of those doctors who have strayed too far from aperients in the direction of the soul.”
—Rebecca West (18921983)
“Women generally should be taught that the rough life men must needs lead, in order to be healthy, useful and manly men, would preclude the possibility of a great degree of physical perfection, especially in color. It is not a bad reflection to know that in all probability the human animal has endowments enough without aspiring to be the beauty of all creation as well as the ruler.”
—Caroline Nichols Churchill (1833?)