This success inspired James MacCullagh and Augustin-Louis Cauchy, beginning in 1836, to analyze reflection from metals by using the Fresnel equations with a complex refractive index. The same technique is applicable to non-metallic opaque media. With these generalizations, the Fresnel equations can predict the appearance of a wide variety of objects under illumination—for example, in computer graphics (see Physically based rendering).