コード例 #1
0
ファイル: Sampler.cs プロジェクト: segafult/SCSRaytracer
 protected Sampler(Sampler clone)
 {
     count = 0;
     _numSamples = clone.NumSamples;
     _numSets = clone.NumSets;
     _samples = clone.Samples;
     _diskSamples = clone.DiskSamples;
     _sphereSamples = clone.SphereSamples;
     _shuffledIndices = clone.ShuffledIndices;
     _jump = clone.Jump;
     randomgen = new Random();
 }
コード例 #2
0
 public NRooksSampler(Sampler clone)
     : base(clone)
 {
     randomgen = new Random();
 }
コード例 #3
0
 public MultiJitteredSampler(Sampler clone)
     : base(clone)
 {
     randomgen = new Random();
 }
コード例 #4
0
 public RegularSampler(Sampler clone)
     : base(clone)
 {
 }