Return to index

NAME

ts - set the specular transmittance for the current material

SYNOPSIS

ts tau_s alpha_t

DESCRIPTION

Set the specular transmittance for the current material to tau_s using the current color to determine the spectral characteristics. The effective surface roughness is set to alpha_t. Rays will be transmitted with the same distribution as they would have been reflected with if this roughness value were given to the rs entity.

The default specular transmittance is zero.

EXAMPLE

# Define a green glass material (58% transmittance)
m glass =
	sides 2
        ir 1.52 0
        c
        rs 0.0725 0
	c
		cxy .23 .38
        ts 0.5815 0
# Define an uncolored translucent plastic (40% transmittance)
m translucent =
	sides 2
	ir 1.4 0
	c
	rs .045 0
	ts .40 .05

SEE ALSO

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