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:
“From the way the grass bends, one can know the direction of the wind.”
—Chinese proverb.
“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)
“The American, if he has a spark of national feeling, will be humiliated by the very prospect of a foreigners visit to Congressthese, for the most part, illiterate hacks whose fancy vests are spotted with gravy, and whose speeches, hypocritical, unctuous, and slovenly, are spotted also with the gravy of political patronage, these persons are a reflection on the democratic process rather than of it; they expose it in its process rather than of it; they expose it in its underwear.”
—Mary McCarthy (19121989)