Skip to content

[feature] Integration of diffusers with BSDF

Summary

Integration of diffusers, particularly lenticular diffusers, using the BSDF (bidirectional scattering distribution function) approach

Current behavior

Integration probably partially incorrect in branches that are no longer up to date.

Desired behavior

Correct diffusion, with efficient calculation, of light depending on the type of diffuser. A parent diffuser class in the code with classes for each type of diffuser that would inherit the properties of the parent class. For the optical functioning of lenticular diffusers, see the attached PowerPoint presentation.

  1. Description of the object (i.e., lenticular diffuser) with a BSDF. If all the objects have the same orientation: 1 call of the function per time step. Input/output of the function in Tregenza/Reinhart coordinates.
  2. Mask the other objects (i.e., non-diffuser elements) and apply the same computation methodology of the diffuse light.

Sources

Lenticular_diffuser_tf.pptx BSDF

Linked features or branches

[feature] Integration of lenticular diffusers