Page 1 of 1

Questions about layered bsdfs.

Posted: Tue Nov 25, 2014 12:39 am
by shiqiu1105
Hey guys,

I've been trying to implement a disney styled principle bsdf lately, and I have read http://blog.selfshadow.com/publications ... _notes.pdf and https://disney-animation.s3.amazonaws.c ... tes_v2.pdf

I got the basic idea. One thing that confuses me a little is the layer system.
Arnold takes the approximation that all layers have zero thickness, and energy conservation is done directly with fresnel term. Here is my question.

When evaluating the bsdf, I assume we can simply loop over all layers and sum up contributions from each layer. However, when evaluating layers not on top, which in and out directions should we use? Should we take into account the refraction from upper layers?
When sampling the scattered directions however, which layer do we pick? If we have a specular layer on top of a diffuse layer, I think we can again use the fresnel to select layers randomly, but what if we have 3 layers, random select twice with fresnel? Lastly, if we select one of the lower layers, and sampled a scattered direction, should we also reduce the throughput of the sampled ray based on fresnel from upper layers?

Seems quite complicated to me, hope that someone can help :)

Thanks,

Re: Questions about layered bsdfs.

Posted: Tue Nov 25, 2014 1:15 am
by ypoissant
More readings for layered BSDF:
"A Simple Layered RGB BRDF Model", by Granier and Heidrich, 2003.
"Arbitrarily Layered Micro-Facet Surfaces", by Weidlich and Wilkie, 2007.
"Exploring the Potential of Layered BRDF Models", by Weidlich and Wilkie, 2009.
"Thinking in Layers - Modelling with Layered Surfaces", by Weidlich and Wilkie, 2011.

In principles, you should refract and attenuate the ray on top layers when evaluating a lower layer and take into account the possibility of total internal reflection when getting out of a lower layer. Imagine the calculations you would do if you modeled each layers separately.

Re: Questions about layered bsdfs.

Posted: Tue Dec 02, 2014 3:13 pm
by ypoissant
I just found this recent article. I haven't had time to read it yet but given the authors, it should be interesting.
"A Comprehensive Framework for Rendering Layered Materials", by Jakob, D'Eon, Jakob, Marschner, 2014.