RiverIntheSky / elliptical_hair

MIT License
0 stars 2 forks source link

Still state of the art? #2

Open ib00 opened 9 months ago

ib00 commented 9 months ago

Is this model still the state-of-the-art or has there been some improvements over your model?

Thanks.

RiverIntheSky commented 9 months ago

Hi,

I haven't seen a follow-up paper yet, but there is an improved version of this model in Blender, including near-field extension, reduced energy loss (accounting for a 4th lobe and multi-scattering) and some simplified computation. Most of the code you can fined here: https://projects.blender.org/blender/blender/src/branch/main/intern/cycles/kernel/closure/bsdf_principled_hair_huang.h https://projects.blender.org/blender/blender/src/branch/main/intern/cycles/kernel/svm/closure.h

ib00 commented 9 months ago

Cool, that's a great improvement.

You still recommend dropping pdf and replacing it with approximation? What is the replacement for it?

RiverIntheSky commented 9 months ago

Hey,

it should be possible to calculate the stochastic pdf, but I haven't got around to do it yet. Will look into it when I have the time. In Blender simply pdf = 1 is used.