ALTA  alpha
nonlinear_function_lafortune Class Reference

Detailed Description

An Lafortune lobe is defined as:

$$\rho_M(L, V) = (L^T M V)^n$$.

We fit the restricted version where the M matrix is diagonal of coefficients $$(Cx, Cx, Cz)$$. Multiple lobes can be summed together to build a complex BRDF model:

$$\rho(L, V) = \sum_i \rho_{M_i}(L, V)$$.

Options:

• The number of lobes can be set using the lobes arguments during loading.
• The bootstrap function will read the arguments to set the first value of the function. By default, each lobe is defined as a forward lobe [-1,-1,1] using the number of the lobe as the exponent.
• Another initialization method –booststrap will put either a forward lobe, a retro-reflective lobe [1,1,1] or the dot product [0,0,1]. The exponent will also be the number of the lobe.

#include <function.h>

The documentation for this class was generated from the following file:
• /home/pac/Projets/alta/sources/plugins/nonlinear_function_isotropic_lafortune/function.h