Consider such a surface rendered using orthographic projection with the
z direction pointing toward the viewer and the
z-axis aligned such that the plane
z = 0 corresponds to the inversion plane
P. Let the surface depth as a function of the image plane as well as inversion plane coordinates be
f(
x,
y) =
z. Note that since by assumption every point on the surface is visible, the coordinates (
x,
y) uniquely reference the same point, both before and after the inversion. The normal
N⃗ to the surface at the point (
x,
y,
f[
x,
y]) is
where
C(
x,
y) = ((∂
f/∂
x)
2 + (∂
f/∂
y)
2 + 1)
−(1/2) and all of the partial derivatives are functions of (
x,
y). Since we are considering orthographic projection, all of the light rays arriving at the camera are oriented in the direction of the viewer
V⃗ = (0, 0, 1). Therefore, a mirror reflection
R⃗ of a camera ray off the specular surface has direction:
A reflection of the surface in depth is equivalent to
f(
x,
y) → −
f(
x,
y) at the visible surface point corresponding to pixel (
x,
y), which implies that ∂
f/∂
x(
x,
y) → −(∂
f/∂
x)(
x,
y) and ∂
f/∂
y(
x,
y) → −(∂
f/∂
y)(
x,
y). Since by assumption every point on the surface is visible, an inversion in depth will not bring forward a previously occluded pixel, and these equations will hold uniquely for each pixel. Therefore, we can see directly from the equations above that both the surface normal vector
N⃗(
x,
y) = [
N1(
x,
y),
N2(
x,
y),
N3(
x,
y)] and reflection vector
R⃗(
x,
y) = [
R1(
x,
y),
R2(
x,
y),
R3(
x,
y)] change sign in the first two coordinates following a reflection in depth—i.e., become
N⃗(
x,
y) = [−
N1(
x,
y), −
N2(
x,
y),
N3(
x,
y)] and [–
R1(
x,
y), –
R2(
x,
y),
R3(
x,
y)], respectively.