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

Low et al. cosine weighted l2 error. More...

#include <cosine_weighted_l2.h>

Public Member Functions

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

Detailed Description

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

Low et al. cosine weighted l2 error.

Low et al. "BRDF models for accurate and efficient rendering of glossy surfaces": https://doi.org/10.1145/2077341.2077350

A cosine weighted l2 error on (in,out) BSDF sample. Each sample is weighted by sin(theta_in)

Implements: concepts::samplelossfunction

Member Function Documentation

◆ BBM_IMPORT_CONFIG()

BBM_IMPORT_CONFIG ( CONF  )

◆ operator()()

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

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