Loading...
Searching...
No Matches
Public Member Functions | List of all members
bieronLog_error< CONF > Struct Template Reference

Bieron and Peers cosine weighted log error. More...

#include <cosine_weighted_log.h>

Public Member Functions

 BBM_IMPORT_CONFIG (CONF)
 
Value operator() (const Vec3d &in, const Vec3d &out, const Spectrum &value, const Spectrum &reference) const
 

Detailed Description

template<typename CONF>
requires concepts::config<CONF>
struct bbm::bieronLog_error< CONF >

Bieron and Peers cosine weighted log error.

Bieron and Peers "An Adaptive BRDF Fitting Metric": https://doi.org/10.1111/cgf.14054

A cosine weighted log error on an (in,out) BSDF sample. Each sample is weighted by sin(theta_in) * sin(theta_out) * cos(theta_out)

Implements: concepts::samplelossfunction

Member Function Documentation

◆ BBM_IMPORT_CONFIG()

BBM_IMPORT_CONFIG ( CONF  )

◆ operator()()

Value operator() ( const Vec3d &  in,
const Vec3d &  out,
const Spectrum &  value,
const Spectrum &  reference 
) const
inline

The documentation for this struct was generated from the following file: