Fermat
Classes | Functions
Multi-Jittering

Detailed Description

This module defines utilities to construct multi-jittered sampling patterns

Classes

struct  cugar::CorrelatedMJSampler
 
struct  cugar::MJSampler
 

Functions

CUGAR_FORCEINLINE CUGAR_HOST_DEVICE float2 cugar::correlated_multijitter (uint32 s, const uint32 m, const uint32 n, const uint32 p, bool ordered=false)
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE float3 cugar::correlated_multijitter_3d (uint32 s, const uint32 X, const uint32 Y, const uint32 Z, const uint32 p)
 

Function Documentation

◆ correlated_multijitter()

CUGAR_FORCEINLINE CUGAR_HOST_DEVICE float2 cugar::correlated_multijitter ( uint32  s,
const uint32  m,
const uint32  n,
const uint32  p,
bool  ordered = false 
)

The repeatable correlated multi-jitter function described in: "Correlated Multi-Jittered Sampling", by Andrew Kensler

◆ correlated_multijitter_3d()

CUGAR_FORCEINLINE CUGAR_HOST_DEVICE float3 cugar::correlated_multijitter_3d ( uint32  s,
const uint32  X,
const uint32  Y,
const uint32  Z,
const uint32  p 
)

The repeatable correlated multi-jitter function described in: "Correlated Multi-Jittered Sampling", by Andrew Kensler extended to form a 3d stack of 3d points