For most boundary conditions other than refraction, the Wall feature can be used. It includes a wide variety of boundary conditions including the following:
If you choose Mixed diffuse and specular reflection, you can assign some probability that the ray is reflected specularly; otherwise, it is reflected diffusely.
The Diffuse scattering and
Mixed diffuse and specular reflection rely on pseudorandom number generation, so they are not guaranteed to give exactly the same numerical results in different software versions or on different architectures.
If the model includes several different types of boundary condition and you want to know what type of condition was applied to each ray, select the Store ray status data check box. This will store a variable that indicates the final status of each ray: whether it has not been released yet, is still propagating, or has been absorbed.
The Wall feature also support conditional ray-wall interactions. For example, you could cause rays to
Freeze if a logical expression is satisfied — for example, having optical path length greater than a specified threshold — and subject them to
Specular reflection otherwise. Together with the
Mixed diffuse and specular reflection condition, it is possible to prescribe up to 3 different types of wall interaction at a single boundary.