Subsurface scattering lobe to model a single-layer medium


Description

A "lobe" for use in the subsurface scattering aggregate material slpm. This uses simple Monte Carlo scattering simulation for a single layer of an isotropic medium.

BRDF

Actually, it's not a BRDF at all, but a BSSRDF. See the monograph that first defined BSSRDF or the paper that introduced the concept to computer graphics.

Examples


  slpm
     slbssrdf
        sclr 1.3 end	% relative index of refraction
        rgb 0.0021 0.0041 0.071	% mu_a, absorption coefficient
        rgb 2.19 2.62 3 end	% mu_s, scattering coefficient
        rgb 0.0 0.0 0.0		% g,    directionality parameter
				%  for Henyey-Greenstein phase function
     end
     blPhng			% with a Phong highlight
        sclr 0.3 end
        sclr 30 end
     end
  end

Last modified: Thu Jun 10 12:26:30 EDT 2004