diff --git a/doc/images/phase_isotropic.jpg b/doc/images/phase_isotropic.jpg new file mode 100644 index 00000000..92de3b27 Binary files /dev/null and b/doc/images/phase_isotropic.jpg differ diff --git a/doc/images/phase_microflakes_005.jpg b/doc/images/phase_microflakes_005.jpg new file mode 100644 index 00000000..6378d275 Binary files /dev/null and b/doc/images/phase_microflakes_005.jpg differ diff --git a/doc/images/phase_microflakes_02.jpg b/doc/images/phase_microflakes_02.jpg new file mode 100644 index 00000000..e3796e0a Binary files /dev/null and b/doc/images/phase_microflakes_02.jpg differ diff --git a/src/phase/isotropic.cpp b/src/phase/isotropic.cpp index bcaacb4f..37f10524 100644 --- a/src/phase/isotropic.cpp +++ b/src/phase/isotropic.cpp @@ -23,6 +23,12 @@ MTS_NAMESPACE_BEGIN /*!\plugin{isotropic}{Isotropic phase function} * \order{1} + + * \renderings{ + * \rendering{Isotropic}{phase_isotropic} + * \rendering{Anisotropic}{phase_microflakes_005} + * } + * * * This phase function simulates completely uniform scattering, * where all directionality is lost after a single scattering diff --git a/src/phase/microflake.cpp b/src/phase/microflake.cpp index 4df13df3..664dba35 100644 --- a/src/phase/microflake.cpp +++ b/src/phase/microflake.cpp @@ -42,6 +42,12 @@ static StatsCounter avgSampleIterations("Micro-flake model", * specifies the roughness of the fibers in the medium. * } * } + * + * \renderings{ + * \rendering{\code{stddev}=0.2}{phase_microflakes_02} + * \rendering{\code{stddev}=0.05}{phase_microflakes_005} + * } + * * This plugin implements the anisotropic micro-flake phase function * described in * ``A radiative transfer framework for rendering materials with