Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
lta.h File Reference
#include "Math/TVector3.h"
#include "Math/math.h"
#include <Common/config.h>
#include <Common/assertion.h>
#include <Common/primitive_type.h>
#include <cmath>

Go to the source code of this file.

Namespaces

namespace  ph
 The root for all renderer implementations.
 
namespace  ph::lta
 Light transport algorithms.
 

Functions

real ph::lta::pdfA_to_pdfW (const real pdfA, const math::Vector3R &dAPosToTargetPos, const math::Vector3R &dANormal)
 Transform area domain PDF to solid angle domain PDF w.r.t. a position.
 
real ph::lta::importance_scatter_Ns_corrector (const math::Vector3R &Ns, const math::Vector3R &Ng, const math::Vector3R &L, const math::Vector3R &V)
 
real ph::lta::importance_BSDF_Ns_corrector (const math::Vector3R &Ns, const math::Vector3R &Ng, const math::Vector3R &V)
 
real ph::lta::tamed_importance_scatter_Ns_corrector (const math::Vector3R &Ns, const math::Vector3R &Ng, const math::Vector3R &L, const math::Vector3R &V)
 Smoother version of importance_scatter_Ns_corrector().
 
real ph::lta::tamed_importance_BSDF_Ns_corrector (const math::Vector3R &Ns, const math::Vector3R &Ng, const math::Vector3R &V)
 Smoother version of importance_BSDF_Ns_corrector(). See tamed_importance_scatter_Ns_corrector() for explanation.