Author Topic: 500x1 samples vs 1x500 samples - time difference  (Read 6103 times)

2013-09-22, 20:52:02

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12780
  • Marcin
    • View Profile
I've rendered two images using bucket mode but it could also be achieved with progressive:

500x1 - 500 path tracing samples rendered with 1 initial sample (equivalent of 500PTS x 1 pass in progressive mode)

1x500 - 1 path tracing sample rendered with 500 initial samples (equivalent of 1PTS x 500 passes in progressive mode)

I understand why there is a big visual difference but my question is: why is there such difference in rendering time? Why is sampling one pixel 500 times with 1 path tracing sample slower than sampling one pixel 1 time with 500 path tracing samples?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-09-22, 21:15:24
Reply #1

rafpug

  • Active Users
  • **
  • Posts: 722
    • View Profile
Hi maru,
nice ^ _ ^

As soon as I have some time I start seeing this method bucket

2013-09-22, 21:40:44
Reply #2

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
easy: there is additional overhead for primary rays. If there was none, having PT samples parameter would make no sense
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2013-09-23, 09:57:21
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12780
  • Marcin
    • View Profile
Ok, thanks. I'm just trying to understand as much as I can. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-09-23, 12:03:57
Reply #4

Stan_But

  • Active Users
  • **
  • Posts: 526
    • View Profile
    • https://www.behance.net/archdizs
Maru, PT does not equal In.sample - it is your main mistake.
I use BM too and i'll show example for you later

2013-09-23, 14:10:50
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12780
  • Marcin
    • View Profile
Maru, PT does not equal In.sample - it is your main mistake.
Your main mistake is that you didn't understand what I wrote.

What I meant is: [path tracing samples] x [initial passes] in bucket mode is the same as [path tracing samples] x [passes] in progressive mode.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-09-24, 10:25:05
Reply #6

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12780
  • Marcin
    • View Profile
Ok, Headoff, you were right. But not entirely. Turns out that:

in progressive mode [path tracing samples] x [1 pass] = in bucket mode [path tracing samples] x [2 initial samples in bucket mode] x [pass]

Here is proof. If you view these images in some viewer and you can jump from one to another, even the noise is the same:
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-09-24, 20:05:49
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12780
  • Marcin
    • View Profile
One more test showing that rendering a scene with

progressive: [X pt samples] * [Y passes]

is exactly the same as rendering it with

buckets: [X pt samples] * [X*2 initial samples]

phew

Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-09-24, 20:52:36
Reply #8

Stan_But

  • Active Users
  • **
  • Posts: 526
    • View Profile
    • https://www.behance.net/archdizs
as i understood when BM set 1/1/X - AA is OFF.  It's why we see such image without anti aliasing.
And i tested it until become clean image. I mean that settings pt 200  vs. 400/1 did same clean result. Like as you showed in your latest post

2013-09-24, 21:01:02
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12780
  • Marcin
    • View Profile
Ok, I'm glad we've come to and agreement. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us