Stores information required to re-create a seed path (e.g. for MLT) More...
#include <mitsuba/bidir/pathsampler.h>
Public Member Functions | |
| PathSeed () | |
| PathSeed (size_t sampleIndex, Float luminance, int s=0, int t=0) | |
| PathSeed (Stream *stream) | |
| void | serialize (Stream *stream) const |
| std::string | toString () const |
Public Attributes | |
| size_t | sampleIndex |
| Index into a rewindable random number stream. More... | |
| Float | luminance |
| Luminance value of the path (for sanity checks) More... | |
| int | s |
| Number of steps from the luminaire. More... | |
| int | t |
| Number of steps from the eye. More... | |
Stores information required to re-create a seed path (e.g. for MLT)
This class makes it possible to transmit a path over the network or store it locally, while requiring very little storage to do so. This is done by describing a path using an index into a random number stream, which allows to generate it cheaply when needed.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Float mitsuba::PathSeed::luminance |
Luminance value of the path (for sanity checks)
| int mitsuba::PathSeed::s |
Number of steps from the luminaire.
| size_t mitsuba::PathSeed::sampleIndex |
Index into a rewindable random number stream.
| int mitsuba::PathSeed::t |
Number of steps from the eye.