Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
bagher.h File Reference

Implements the microfacet BSDF with Shifted Gamma Distribution: More...

#include "bsdfmodel/microfacet.h"
#include "bsdfmodel/scaledmodel.h"
#include "ndf/sgd.h"
#include "maskingshadowing/uncorrelated.h"

Go to the source code of this file.

Classes

struct  bagher_reflectance_tag< T >
 
struct  bsdf_fresnel_properties< ior::bagher_reflectance< T >, Flag >
 Define a specialized bsdf_parameter for the 2d Bagher et al.'s reflectance. More...
 
struct  bagher< CONF >
 Bagher at al.'s modified Schlick's Fresnel approximation. More...
 

Namespaces

namespace  bbm
 
namespace  bbm::ior
 Namespace for 'ior' and 'reflectance' types.
 
namespace  bbm::fresnel
 

Typedefs

template<typename CONF , string_literal NAME = "Bagher">
using bagher = scaledmodel< microfacet< ndf::sgd< CONF >, maskingshadowing::uncorrelated< CONF >, fresnel::bagher< CONF >, microfacet_n::Cook, NAME >, bsdf_attr::SpecularScale >
 Bagher et al.'s Microfacet BSDF with Shifted Gamma Distribution.
 
Specialized 2d reflectance type for Bagher et al.'s modified Schlick's approxiation.
template<typename T >
using bagher_reflectance = attribute< bagher_reflectance_tag< T > >
 

Functions

 BBM_CHECK_CONCEPT (concepts::fresnel, bagher< config >)
 
 BBM_CHECK_CONCEPT (concepts::bsdfmodel, bagher< config >)
 

Detailed Description

Implements the microfacet BSDF with Shifted Gamma Distribution:

M. M. Bagher, C. Soler, and N. Holzschuch "Accurate fitting of measured reflectances using a Shifted Gamma micro-facet distribution", Computer Graphics Forum 31, 4, 2012: https://doi.org/10.1111/j.1467-8659.2012.03147.x


Class Documentation

◆ bbm::ior::bagher_reflectance_tag

struct bbm::ior::bagher_reflectance_tag
template<typename T>
struct bbm::ior::bagher_reflectance_tag< T >
Class Members
typedef vec2d< T > type