Fermat
|
Functions | |
FERMAT_FORCEINLINE FERMAT_HOST_DEVICE uint64 | spatial_hash (const cugar::Vector3f P, const cugar::Vector3f N, const cugar::Bbox3f bbox, const float samples[6], const float cone_radius, const uint32 normal_bits=4) |
FERMAT_FORCEINLINE FERMAT_HOST_DEVICE uint64 | spatial_hash (const uint32 pixel_index, const cugar::Vector3f P, const cugar::Vector3f N, const cugar::Vector3f T, const cugar::Vector3f B, const cugar::Bbox3f bbox, const float samples[6], const float cone_radius, const float filter_radius, const uint32 normal_bits=4) |
FERMAT_FORCEINLINE FERMAT_HOST_DEVICE float | spatial_hash_lod (const cugar::Vector3f P, const cugar::Bbox3f bbox, const float cone_radius) |
FERMAT_FORCEINLINE FERMAT_HOST_DEVICE uint64 spatial_hash | ( | const cugar::Vector3f | P, |
const cugar::Vector3f | N, | ||
const cugar::Bbox3f | bbox, | ||
const float | samples[6], | ||
const float | cone_radius, | ||
const uint32 | normal_bits = 4 |
||
) |
Perform jittered spatial hashing
FERMAT_FORCEINLINE FERMAT_HOST_DEVICE uint64 spatial_hash | ( | const uint32 | pixel_index, |
const cugar::Vector3f | P, | ||
const cugar::Vector3f | N, | ||
const cugar::Vector3f | T, | ||
const cugar::Vector3f | B, | ||
const cugar::Bbox3f | bbox, | ||
const float | samples[6], | ||
const float | cone_radius, | ||
const float | filter_radius, | ||
const uint32 | normal_bits = 4 |
||
) |
Perform jittered spatial hashing
FERMAT_FORCEINLINE FERMAT_HOST_DEVICE float spatial_hash_lod | ( | const cugar::Vector3f | P, |
const cugar::Bbox3f | bbox, | ||
const float | cone_radius | ||
) |
Compute the LOD level used for jittered spatial hashing