A implementation for SIGGRAPH 2015 paper The SGGX Microflake Distribution within the Mitsuba framework.
The paper propose a novel expression for microflake distribution which use projected area to represent the distribution. The new distribution can be easily converted from previous expression proposed by Zhao et al. And the coefficients can also be estimated from arbitary distribution.
-Scarf
This distribution also quite quite well when interpolated.
Finally, this distribution works well when used to generate LOD data.
-Reference
-4x4 Downsampling
This repo includes the code need to be added or modified in the Mitsuba source code. The full source code can be dowloaded here.
The scarf model used in the example can also be dowloaded here.
Note that some codes in this tool are from Mitsuba source code and Mitsuba is licensed under the terms of Version 3 of the GNU General Public License, so if you use this code in your project, please follow the rules described in the license.