A "dead" function in physicalsss.h

   2011   2   2
User Avatar
Member
71 posts
Joined: June 2008
Offline
Hi,
I have recently began to modify the physicalsss.h just a little bit and I have found a unused function. It's called vop_sss_multi_brdf(…) I guess that it should be used to compute the local model or for the optimization of secondary rays for multiple sub-surface scattering. But after a while it was changed to getLocalMultiRadiance (..). Is it true or it was kept for a future use?
Alexey Mazurenko
User Avatar
Member
168 posts
Joined: March 2008
Offline
Hello,

It is true that vop_sss_multi_brdf() is not currently used by the SSS shader. It is provided mainly for completeness and debugging/comparison purposes. vop_sss_multi_brdf() has fewer options than getLocalMultiRadiance(). For example, you cannot specify a local radius of integration or a depth value. Hope that helps.

–Ian
Ian Kerr
3D Software Developer
User Avatar
Member
71 posts
Joined: June 2008
Offline
Hello Ian,
Thank you very much for your answer. This has been very helpful.
Alexey Mazurenko
  • Quick Links