Scaled BSDF model. More...
#include <scaledmodel.h>
Inherits BSDFMODEL.
Public Member Functions | |
| BBM_BASETYPES (BSDFMODEL) | |
| BBM_IMPORT_CONFIG (BSDFMODEL) | |
| Spectrum | eval (const Vec3d &in, const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const |
| Evaluate the albedo*BSDFMODELeval. | |
| Spectrum | reflectance (const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const |
| Return albedo*BSSFMODELreflectance. | |
| BBM_DEFAULT_CONSTRUCTOR (scaledmodel) | |
| Default constructor. | |
Public Attributes | |
| BBM_BSDF_FORWARD | |
Static Public Attributes | |
| static constexpr string_literal | name = NAME |
| bsdf_scale< Spectrum, FLAG > | albedo |
| Class Attributes. | |
| BBM_ATTRIBUTES (albedo) | |
Scaled BSDF model.
| BSDFMODEL | = bsdf model to scale; must be default constructible. |
| FLAG | = bsdf_attr flag of the albedo attribute |
| NAME | = model name (default copy name from BSDFMODEL) |
Implements: concepts::bsdfmodel
| BBM_ATTRIBUTES | ( | albedo | ) |
| BBM_BASETYPES | ( | BSDFMODEL | ) |
|
inline |
Default constructor.
| BBM_IMPORT_CONFIG | ( | BSDFMODEL | ) |
|
inline |
Evaluate the albedo*BSDFMODELeval.
| in | = incident direction |
| out | = outgoing direction |
| component | = which reflectance component to eval |
| unit | = unit of computation (ignored) |
| mask | = masking of lanes (e.g., for Packet eval) |
|
inline |
Return albedo*BSSFMODELreflectance.
| out | = the outgoing direction |
| component | = which reflectance component to eval |
| unit | = unit of computation (ignored) |
| mask | = masking of lanes |
| bsdf_scale<Spectrum,FLAG> albedo |
Class Attributes.
| BBM_BSDF_FORWARD |
|
staticconstexpr |