Return to index

NAME

ir - set the complex index of refraction for the current material

SYNOPSIS

ir n_real n_imag

DESCRIPTION

Set the index of refraction for the current material to (n_real,n_imag). If the material is a dielectric (as opposed to metallic), then n_imag should be zero. For solid dielectric objects, the material should be made one-sided. If it is being used for thin objects, then a two-sided material is appropriate. (See the sides entity.)\0

The default index of refraction is that of a vacuum, (1,0).

EXAMPLE

# Define polished aluminum material
m polished_aluminum =
	# Complex index of refraction (from physics table)
	ir .770058 6.08351
	c
	rs .75 0

SEE ALSO

c, ed, m, rd, rs, sides, td, ts