Author Topic: Bucket Mode settings in depth?  (Read 3514 times)

2014-10-04, 13:22:45

bograt

  • Active Users
  • **
  • Posts: 33
    • View Profile
Hello,

I am wondering if anyone knows of an in depth explanation of the Bucket mode settings to help me understand exactly what is happening.
At the moment I am rendering a scene which has some very out of focus bright metallic surfaces, as a result the noise in the bokeh only clears when I render at:

Initial Samples: 8
Passes: 8
Adaptive threshold: 0.01

I am still having trouble understanding the relation ship between initial samples and passes... Does anyone have a good explanation for this?
I am really wondering what the initial samples are in particular.
Thanks

Jules

2014-10-04, 14:27:07
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13655
  • Marcin
    • View Profile
I already wrote it somewhere, but oh well...
(devs please correct me if I'm wrong anywhere)

In PROGRESSIVE MODE:

If:
-you set gi samples to X
-you set direct light samples multiplier to Y
-you have N passes and for each pass you get 1 AA sample

Then:
For each pixel of your image you get:
-X gi samples for GI
-Y*X samples for direct light
-N AA samples

In BUCKET mode:

If:
-you set GI samples to X
-you set direct light samples multiplier to Y
-you set bucket initial samples to 8
-you set passes to 4
-you set adaptive threshold to 0,01

Then:
Your bucket makes X gi samples for GI or Y samples for direct light * 8 (because of initial samples = 8, these 8 initial samples are virtually the same as passes in progressive mode, they will give you 8 AA samples).
After the whole image is covered with buckets, the next pass is started in which you will get your [initial samples]*2 which will give you 16 samples. So some pixels will get these additional samples and some won't - adaptive threshold decides about this.
Buckets will do this 4 times as you set passes to 4.
-in first pass you will have 8 AA samples
-in 2nd - 16AA samples for pixels above adaptive threshold
-in3rd - 32AA samples for pixels above adapt thresh
-in4th - 64AA samples for pixels above adapt thresh

Hope it's more or less clear. Sorry for potential mistakes, I'm in a hurry. :D
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2014-10-04, 18:04:39
Reply #2

bograt

  • Active Users
  • **
  • Posts: 33
    • View Profile
Thanks Maru,
Sorry, I had a look on the forums but maybe not hard enough.
That makes far more sense to me now, thanks for taking the time!

2014-10-05, 10:38:14
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13655
  • Marcin
    • View Profile
I'm just not sure if each new bucket pass makes your initial samples *2 or ^2. I don't remember, I haven't used buckets for a long time.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2014-10-05, 11:35:47
Reply #4

juang3d

  • Active Users
  • **
  • Posts: 636
    • View Profile
I think it is ^2

Cheers!