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 and/or reflection:
“Your Englishman, confronted by something abnormal will always pretend that it isnt there. If he cant pretend that, he will look through the object, or round it, or above it or below it, or in any direction except into it. If, however, you force him to look into it, he will at once pretend that he sees the object not for what it is but for something that he would like it to be.”
—James Agate (18771947)
“Public morning diversions were the last dissipating habit she obtained; but when that was accomplished, her time was squandered away, the power of reflection was lost, [and] her ideas were all centered in dress, drums, routs, operas, masquerades, and every kind of public diversion. Visionary schemes of pleasure were continually present to her imagination, and her brain was whirled about by such a dizziness that she might properly be said to labor under the distemper called the vertigo.”
—Sarah Fielding (17101768)