[ Contact ] [ Links ] [ Previous : 30 / 49 : Ray Tracing Architecture ] [ Up ] [ Next : 32 / 49 : Ray Plane Intersection ]

Computing a Reflected Ray

NB : ||Rin|| = ||Rout|| = 1

Rin an Rout are unit vector

The projection of Rin onto N is -N cos (q) so

Rout - Rin = - 2N cos(q) = -2N.( N.Rin )

Rout = Rin - 2N(N.Rin)

You can form a losange with Rin and Rout


See the "Links" link above to find out the sources of the proposed informations
Pascal Vuylsteker / eScience / Computer Science / ANU
Last modified: 20/4/2004
TOC - Print
Send your comments at :
<Hugh.Fisher@anu.edu.au>