Questions about layered bsdfs. back

Board: Home Board index Raytracing General Development

(L) [2014/11/25] [tby shiqiu1105] [Questions about layered bsdfs.] Wayback!

Hey guys,
I've been trying to implement a disney styled principle bsdf lately, and I have read [LINK http://blog.selfshadow.com/publications/s2014-shading-course/langlands/s2014_pbs_alshaders_notes.pdf] and [LINK https://disney-animation.s3.amazonaws.com/library/s2012_pbs_disney_brdf_notes_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 [SMILEY :)]
Thanks,
(L) [2014/11/25] [tby ypoissant] [Questions about layered bsdfs.] Wayback!

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.
(L) [2014/12/02] [tby ypoissant] [Questions about layered bsdfs.] Wayback!

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.

back