Look at geometry of reflection
Note that for our rays: Rin = -Rd
The projection of Rin onto N is N cos (q) so
Rout = N cos(q) + S
Rin + S = N cos(q)
S = N cos(q) - Rin
Rout = 2Ncos(q) - Rin = 2N(N · Rin) - Rin
Last changed April 01, 1998, G. Scott Owen, firstname.lastname@example.org
Go to main ray trace page
HyperGraph Table of Contents.
HyperGraph Home page.