MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / GetSample

Method GetSample

src/slg/samplers/tilepathsampler.cpp:76–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76float TilePathSampler::GetSample(const u_int index) {
77 assert (index < requestedSamples);
78
79 switch (index) {
80 case 0:
81 return sample0;
82 case 1:
83 return sample1;
84 default:
85 return sobolSequence.GetSample(tilePass, index);
86 }
87}
88
89void TilePathSampler::NextSample(const vector<SampleResult> &sampleResults) {
90 tileFilm->AddSampleCount(1.0, 0.0);

Callers 1

InitNewSampleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected