Glass Material IOR and Dispersion

From LuxCoreRender Wiki
Jump to navigation Jump to search

The aim of this article is to present an overview of glass dispersion, how it is quantified and used in the LuxCore glass material to model dispersion, and how to get the correct numbers to use. The focus here is on using the data and models in the physically correct way. For artistic purposes, you may want to deviate from the described methods.

For most readers, the most interesting sections will be Refractive Index and Dispersion Data, where a list of selected parameters is provided, and section Conversion from Abbe Number to Cauchy, where formulas to compute BlendLuxCore IOR and Dispersion from a pair of refractive index and Abbe-number are given.

Introduction

Glasses have an important property called the Index Of Refraction (IOR). When a light ray encounters a change in IOR, e.g. at the surface of a piece of glass, the direction of the ray is changed according to Snell‘s law:

Snellslaw.png

where n1 and n2 are the refractive indices outside and inside the glass, and θ1 and θ2 the angles between the surface normal vector and the rays outside and inside the glass.

For real materials, the IOR is a function of the wavelength λ of light. This property is called dispersion. For example, the IOR of N-BK7 glass, a common glass for laboratory optics, varies between n = 1.53 at a λ = 400 nm, to n = 1.51 at λ = 800 nm. This may not seem a big difference, but it has significant impact on imaging optics.

Quantifying Dispersion

There are several common ways to describe, or quantify, the dispersion of a glass:

The Abbe number

A very common quantification is the Abbe number, denoted by ν, which is calculated from the refractive index at three differnt wavelengths:

Abbe old.png

where the three wavelengths are d = 587.56 nm, F = 486.13 nm and C = 656.27 nm. An alternative definition is based on slightly different wavelengths:

Abbe new.png

where the three wavelengths are e = 546.07 nm, F‘ = 479.99 nm and C‘ = 643.85 nm.

Important:
a) The Abbe number is an index value derived from three specific data points. As such, it makes no statement on how the refractive index varies between these points.
b) When working with the Abbe number, check which of the two definitions is used.

The Cauchy Equation

The Cauchy equation provides an approximate formula for the dispersion of light. The equation has the following form:

Cauchy multi.png

by convention, the wavelength must be used in units of micrometers! The glass material in LuxCore uses only the first two terms of the equation, i.e.

Cauchy 2term.png

This equation already provides a good fit to many real glasses in the visible spectrum.

Since this form only depends on the two coefficients A and B, it is possible to convert them from a pair of Abbe number and refactive. The conversion algorithm is given below in section Conversion from Abbe Number to Cauchy.

Important:
a) The usual convention, used also by LuxCore, is to calculate with wavelength in units of micrometers.
b) The Cauchy-A term is the asymptotical refractive index at high wavelengths. It is therefore smaller than the refractive index at the center of the visible spectrum, which is usually the IOR-value quoted for materials if nothing else is specified.

The Sellmeier Equation

Like the Cauchy equation, the Sellmeier equation is a formula describing the refractive index as a function of wavelength. It is more complex and suited to describe the refractive index over a wider range of wavelengths:

Sellmeyer.png

As for the Cauchy equation, further terms could be used. Data sheets for optical glasses usually give the six coefficients of the above form.

Relative Partial Dispersion and Other Quantities

Many more equation and indices have been defined to quantify dispersion, sometimes tailored to specific wavelength ranges.

The concept of relative partial dispersions is similar to the Abbe number, but using another pair of refractive index difference at certain wavelengths in the numerator of the equation.

Even simpler, the refractive index difference between red and blue light is sometimes given. A commonly found example is a dispersion value of 0.044 for Diamond. This is of the same order of magnitude as the Cauchy-B coefficent B = 0.012, and thus often quoted and used.

Dispersion in LuxCore and Tipps

As mentioned in the previous section, LuxCore uses a two-term Cauchy equation to model the refractive index.

Therefore, in (Blend)LuxCore, the correct way to input values is to set the Cauchy-A coefficient as IOR, and the Cauchy-B coefficient as dispersion.

For artistic applications, it should be fine to use the IOR at a visible wavelength instead of the Cauchy-A term. Likewise, a higher dispersion value may be used to compensate for limitations of the rendering process, like SDS caustics or fully specular paths.

The following image shows a comparison of a diamond rendered at with different dispersion values of B = 0 (no dispersion), B = 0.0121 (physically correct) and B = 0.044 (often quoted value). The IOR was adapted so that the refractive index at 550 nm remains constant and the caustics remain centered in the same location.

Diamonddispersion.gif

Conversion from Abbe Number to Cauchy

The Cauchy-coefficents A and B can be calculated from a pair of Abbe number and refractive index, indexed e and d as described in section The Abbe number. First, the Cauchy-B parameter is calculated. The following equation is given for the d-, F- and C-wavelength definition. However, the factor of 0.52 also roughly results with the F'- and C'-wavelengths, so that the equation can be applied in both cases:

AbbeconvertB.png

With the Cauchy-B parameter, the Cauchy-A parameter can be calculated. In this case, slightly different numbers must be used depending on the Abbe-definition. However, the error would be small, as B is small.

AbbeconvertA.png

The Figure below shows an example plot for N-BK7 optical glass. In the top panel, a comparison with Cauchy-formulas derived from the two Abbe-number definitions is shown. The bottom panel shows the relative error between the two definitions, as well as with the much better fitting Sellmeier equation. It can be seen that the error is below 0.05% across the visible spectrum, and the results of the two Abbe-number pairs are even much smaller.

In other words: Don't worry too much about which Abbe-definition your numbers follow, just use the equations described above.

Cauchyplot.png

Refractive Index and Dispersion Data

A database of raw data for many materials can be found at https://refractiveindex.info/.

Below is a list of a few common materials with the IOR and dispersion settings for BlendLuxCore.

Material IOR Dispersion
Water 1.3244 0.0031
Window Glass (Soda Lime) 1.5111 0.00425
Acrylic (PMMA) 1.4767 0.0048
Prism Glass (N-SF11) 1.7387 0.0159
Diamond 2.3818 0.0121
Sapphire 1.7522 0.0055

Further Reading

Some manufacturers of optical glasses and lens systems have published technical documents that may be helpful to further understand dispersion and how it is measured.

Schott TIE-29: Refractive Index and Dispersion

Zeiss Memorandum on reference wavelengths

Schott TIE Document collection