@@ -1908,6 +1908,28 @@ <h2 id=backface-visibility-property><span class=secno>12. </span> The
19081908
19091909 < div class =issue > Is the relevant matrix here really relative to the
19101910 viewport, or to the root of the 3D rendering context?</ div >
1911+
1912+ < p class =note > The reasoning for this definition is as follows. Assume
1913+ elements are rectangles in the < var > x</ var > –< var > y</ var > plane with
1914+ infinitesimal thickness. The front of the untransformed element has
1915+ coordinates like (< var > x</ var > , < var > y</ var > , < var > ε</ var > ), and
1916+ the back is (< var > x</ var > , < var > y</ var > , −< var > ε</ var > ), for
1917+ some very small < var > ε</ var > . We want to know if after the
1918+ transformation, the front of the element is closer to the viewer than the
1919+ back (higher < var > z</ var > -value) or further away. The
1920+ < var > z</ var > -coordinate of the front will be
1921+ < var > M</ var > < sub > 13</ sub > < var > x</ var > +
1922+ < var > M</ var > < sub > 23</ sub > < var > y</ var > +
1923+ < var > M</ var > < sub > 33</ sub > < var > ε</ var > + < var > M</ var > < sub > 43</ sub > ,
1924+ before accounting for perspective, and the back will be
1925+ < var > M</ var > < sub > 13</ sub > < var > x</ var > +
1926+ < var > M</ var > < sub > 23</ sub > < var > y</ var > −
1927+ < var > M</ var > < sub > 33</ sub > < var > ε</ var > + < var > M</ var > < sub > 43</ sub > .
1928+ The first quantity is greater than the second if and only if
1929+ < var > M</ var > < sub > 33</ sub > > 0. (If it equals zero, the front and back are
1930+ equally close to the viewer. This probably means something like a
1931+ 90-degree rotation, which makes the element invisible anyway, so we don't
1932+ really care whether it vanishes.)</ p >
19111933 <!-- ======================================================================================================= -->
19121934
19131935 < h2 id =transform-functions > < span class =secno > 13. </ span > The Transformation
0 commit comments