Two point raytracing for reflection off a 3D plane |
planerayfig
Figure 1. Diagram of planar reflector and the points and vectors I use for calculating the reflected raypath. | |
---|---|
Dotting onto the first two equations gives
and subtracting the first two equations produces
which can be solved directly for now that we have and . Given this , the first equation immediately yields
the desired reflection point. This can also be described in terms of the midpoint of the source and receiver as
Two point raytracing for reflection off a 3D plane |