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

Cosine weighted log error weighted by sin theta of in and out. 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::standardLog_error< CONF >

Cosine weighted log error weighted by sin theta of in and out.

A cosine weighted log error for an (in,out) BSDF sample. Each sample is weighted by sin(theta_in) * sin(theta_out). While this error is the re-interpretation of Low et al.'s log error with 'standard' sin theta in.out weighting of the error.

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: