Presets
Playback
Camera view
Parameters
Camera
Layers
Quality
Model check
The science
What the tapetum is. Many nocturnal and dim-light vertebrates (cats, dogs, deer, cattle, horses, crocodilians and many fish) have a tapetum lucidum, a layer of reflective cells behind or within the retina. Light that was not absorbed on its first pass through the photoreceptors is reflected for a second pass, so the retina catches more of the available light (roughly up to a factor of two). Some of the reflected light leaves the eye again, and that is the eyeshine seen in a torch beam or car headlights. Humans have no tapetum; a flash photograph shows a dim red glow from the blood-rich choroid instead ("red-eye").
Model. The eye is a schematic one: three spherical refracting surfaces (cornea to aqueous, lens front, lens back) with indices 1.336 (aqueous and vitreous) and 1.41 to 1.55 (lens), an elliptical pupil stop in front of the lens, and a concave spherical mirror (the tapetum) concentric with the lens centre and placed a small distance behind the paraxial focus. For each of 7000 rays from a distant lamp the page traces the exact vector path: Snell refraction at every surface with the unpolarised Fresnel transmission, absorption a in the photoreceptor layer on each of the two passes, reflection by the law d' = d - 2 (d . n) n at the mirror (normal scattered by a Gaussian of the chosen roughness), and the way back out through the lens, pupil and cornea (rays that leave through the pupil stop or suffer total internal reflection are lost). The retinal gain from the second pass is 1 + (1 - a) R. The camera sits beside the lamp at an angle psi = separation / distance as seen from the eye; the page counts the returned light inside the camera's acceptance cone (a 1 cm lens at the viewing distance).
Why the glow disappears sideways. A mirror at the focus of a lens is a "cat's-eye" retroreflector: light that comes to a point returns along the way it came. The tapetum sits a little behind the focus, so the beam is blurred into a cone of a few degrees around the direction of the lamp. A camera beside the lamp, a few degrees or less away as seen from the eye, catches it; a camera further to the side, or too close to the animal for the same separation, does not. This is why a cat's eyes flash in a headlight beam straight ahead but not in a lamp across the room.
Honest simplifications. The anatomy is schematic and not a measured eye model: the radii, thicknesses and indices are plausible round numbers, with the retina position set by the paraxial focus (an emmetropic eye) rather than by measured axial lengths; the lens has uniform index (real lenses have a gradient and the cat lens is nearly spherical); the cornea is one refracting surface; there is no wavelength dependence except the tint of the glow (the real tapetum is a multilayer reflector whose colour depends on wavelength, layer spacing and viewing angle); the mirror is a spherical cap and not the true curved tapetal surface; scattering inside the retina is ignored; the iris is a flat stop; the lamp is a point at infinity. Reflectivities and absorptions are illustrative and species values are not measured. The red-eye of the human preset is represented only as a weak, rough, red reflector.
Checks. (1) The paraxial focus from matrix optics against a ray traced 0.02 mm off the axis; (2) the retroreflector principle: with the mirror exactly at the focus, the mean returned direction is the direction of the lamp to better than 0.1 degrees; (3) bookkeeping: the captured-light ratio equals 1 + (1 - a) R, and the transmission seen by an axial ray equals the product of the normal-incidence Fresnel factors; (4) the paraxial return angle from matrix optics with a mirror of power 2n/R against the full vector trace.