Incredible DLL! It was the very 1st search result and exactly what I needed. Thanks so much for sharing!
I noticed if one sets the depolarization factor to 0, there are no scattered rays. I would have expected all beams to be present, just dominated with initial polarization.
Interestingly, the issue seems to be solved if one adjust the other confusing parameter, 'Transmission’ (which also works in reflection!). For instance, if one fixes it to 1, then whatever is set on the depolarization, seemingly correct ~50% proportions are detected in the two polarizations.
If I understand the DLL correctly, wouldn't it be more straightforward to call the variable not 'Transmission’ but 'Unaffected fraction’? Or am I misunderstanding the algorithm?
Kind regards,
Kris