





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






J. H. Burge University of Arizona 1
6. Mirror matrices
Matrix formalism is used to model reflection from plane mirrors.
Start with the vector law of reflection:
k ˆ (^) 2 = k ˆ 1 − 2 ( k ˆ 1 • n ˆ) n ˆ
The hats indicate unit vectors k1 = incident ray k2 = reflected ray n = surface normal
For a plane mirror with its normal vector n with (x,y,z) components (nx,n (^) y,nz )
Using the standard vector representation with unit vectors,
ˆ ˆ^ ˆ^ ˆ n = n ix + n jy + n kz
The matrix representation of this vector is
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎣
⎡
=
z
y
x
n
n
n
n
incident ray
surface normal
− 2 ( k ˆ (^) 1 • n ˆ) n ˆ^2 reflected ray k ˆ
n^ ˆ
1 k ˆ
J. H. Burge University of Arizona 2
The vector law of reflection can be written in matrix form as
Where the mirror matrix M is calculated to be
T
M can be expanded as
M
1
0
0
0
1
0
0
0
1
2..
n x
n y
n z
n x n y n z
or
After calculating this mirror matrix, any vector k 1 gets changed by reflection from the mirror to a new vector k 2 , calculated by simple matrix multiplication
If the initial vector k 1 is the direction the ray incident on the mirror, then k 2 is the direction of the reflected ray.
J. H. Burge University of Arizona 4
The mirror matrix shows the reflected coordinates, not just the incident ray. Initial coordinates (i,j,k) get reflected to a new set (i’,j’,k’)
For example, a mirror with its normal in the z direction would be described by M^ z
M (^) z =
A set of coordinates would be reflected so that
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎣
⎡
−
=
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎣
⎡
=
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎣
⎡
=
1
0
0
, '
0
1
0
, '
0
0
1
x ' y z
An incident ray traveling in the +z direction will be reflected to travel in the –z direction. Images of the x and y axes do not change.
Image orientation can be computed by transforming the "up" and "right" axes in object space using the mirror matrix M to find the orientation and parity in image space. Each direction of the coordinate system is transformed by the mirror matrix
k
j
i
k’ i’ j’
J. H. Burge University of Arizona 5
Parity
The parity of this one mirror is of course odd (–1). The image of a right handed coordinate system will appear to be left handed in the reflection. This means that clockwise rotation about any basis vector will appear counter-clockwise in the image.
In general, the determinant of the mirror matrix gives the parity of the system.
J. H. Burge University of Arizona 7
for the simple case of the mirror starting with its normal in the z direction, rotation α about the x axis gives
Mr = R (^) x(α) Mz R (^) x(α) T
We can reduce this using the identify [A B] T = B T A T
Since Mz =
= Mz
T
Mr = R (^) x(α) [R (^) x(α) Mz T ] T
= R (^) x(α) [R (^) x(α) Mz ]
= [R (^) x(α) R (^) x(α)] Mz ]
= R (^) x(2α) Mz
Likewise the effect of y–rotation is
Mr = R (^) y(2β) Mz
The effect of z–rotation is NOT the same. You can use trig identities to show that
Mr = R (^) z (γ) Mz R (^) z T (γ) = Mz
J. H. Burge University of Arizona 8
Some common types of mirrors:
Free space
⎥
x mirror
⎥
y mirror
⎥
z mirror
⎥
90° x roof
⎥
90° y roof
⎥
90° z roof
⎥
45° x roof
⎥
cube corner
⎥
j
i k
i
insensitive to x rotation 2 θ for y and z rotations
insensitive to z rotation 2 θ for x and y rotations
insensitive to y rotation 2 θ for x and z rotations
insensitive to x rotation 2 θ for y and z rotations
insensitive to y rotation 2 θ for x and z rotations
insensitive to z rotation 2 θ for x and y rotations
90° deviation insensitive to x rotation θ for y and z rotations
retro-reflects insensitive to all rotations