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

Standard cosine weighted l2 error. More...

#include <cosine_weighted_l2.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::nganL2_error< CONF >

Standard cosine weighted l2 error.

A cosine weighted l2 error for an (in,out) BSDF sample. Each sample is weighted by sin(theta_in) * sin(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: