Fermat
Classes | Namespaces | Macros | Functions
ltc.h File Reference

Defines the LTC BSDF. More...

#include <cugar/linalg/vector.h>
#include <cugar/linalg/matrix.h>
#include <cugar/basic/numbers.h>
#include <cugar/bsdf/differential_geometry.h>
#include <cugar/spherical/mappings.h>

Go to the source code of this file.

Classes

struct  cugar::LTCBsdf
 
struct  cugar::LTCBsdf::LTC
 

Namespaces

 cugar
 Define a vector_view POD type and plain_view() for std::vector.
 

Macros

#define ONE_OVER_PIf   0.31830988618f
 
#define ONE_OVER_TWO_PIf   0.15915494309f
 
#define HALF_PIf   1.57079632679f
 
#define ONE_OVER_HALF_PIf   0.63661977236f
 
#define LTC_USE_INVDET
 

Functions

CUGAR_FORCEINLINE CUGAR_HOST_DEVICE uint32 cugar::clip_quad_to_horizon (cugar::Vector3f L[5])
 

Detailed Description

Defines the LTC BSDF.

This module provides a ltc BSDF implementation