|
| | BBM_BASETYPES (BSDFMODEL) |
| |
| | BBM_IMPORT_CONFIG (BSDFMODEL) |
| |
| | bsdf (const BSDFMODEL &model) |
| | Construct directly from a BSDF model.
|
| |
| virtual Spectrum | eval (const Vec3d &in, const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const override final |
| | Virtual passthrough of eval function.
|
| |
| virtual BsdfSample | sample (const Vec3d &out, const Vec2d &xi, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const override final |
| | Virtual passthrough of sample function.
|
| |
| virtual Value | pdf (const Vec3d &in, const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const override final |
| | Virtual passthrough of the pdf function.
|
| |
| virtual Spectrum | reflectance (const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const override final |
| | Virtual passthrough of the hemispherical reflectance function.
|
| |
| virtual std::string | toString (void) const override final |
| | Pipe toString to BSDFMODEL.
|
| |
|
| virtual bbm::vector< Value & > | parameter_values (bsdf_attr flags=bsdf_attr::All) override final |
| |
| virtual bbm::vector< const Value & > | parameter_values (bsdf_attr flags=bsdf_attr::All) const override final |
| |
| virtual bbm::vector< Value > | parameter_default_values (bsdf_attr flags=bsdf_attr::All) const override final |
| |
| virtual bbm::vector< Value > | parameter_lower_bound (bsdf_attr flags=bsdf_attr::All) const override final |
| |
| virtual bbm::vector< Value > | parameter_upper_bound (bsdf_attr flags=bsdf_attr::All) const override final |
| |
| | BBM_IMPORT_CONFIG (get_config< BSDFMODEL >) |
| |
| virtual | ~bsdf_base (void) |
| | empty virtual destructor
|
| |
| virtual Spectrum | eval (const Vec3d &in, const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const=0 |
| | Evaluate the BSDF given an in and out direction.
|
| |
| virtual BsdfSample | sample (const Vec3d &out, const Vec2d &xi, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const=0 |
| | Samples the BSDF given an out direction and 2 random variables.
|
| |
| virtual Value | pdf (const Vec3d &in, const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const=0 |
| | The pdf of the in-out direction combination.
|
| |
| virtual Spectrum | reflectance (const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const=0 |
| | the (approximate) hemispherical reflectance of the BSDF
|
| |
| virtual std::string | toString (void) const=0 |
| | Fancy print the BSDF to a string.
|
| |
template<typename BSDFMODEL>
requires concepts::bsdfmodel<BSDFMODEL>
class bbm::bsdf< BSDFMODEL >
BSDF implementation of a BSDF model.
- Template Parameters
-
| BSDFMODEL | = the BSDF model to transform into a BSDF |