Fermat
|
Primary coordinate sampler for eye subpaths, based on a TiledSequence sampler. This sampler assumes that there is a one to one correspondence between paths and pixels, i.e. that the path index IS the pixel index.
#include <bpt_samplers.h>
Public Methods | |
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE | PerPixelEyeSubpathPrimaryCoords (const TiledSequenceView _sequence, const uint32 _res_x, const uint32 _res_y) |
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE float | sample (const uint32 idx, const uint32 vertex, const uint32 dim) const |
Public Members | |
const TiledSequenceView | sequence |
const uint32 | res_x |
const uint32 | res_y |