Author Topic: Corona v1.3 vs 1.7  (Read 12265 times)

2017-07-24, 23:49:09

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com
As in the title, a small test FOR FUN of different Corona version.

What it's strange is the v1.7 NL. In both v1.6 and v1.7  it's 8.14.
But the v1.7 has, clearly, less noise, especially on the ceiling, left /right walls and in the DOF.
Is it a bug?



« Last Edit: 2017-07-25, 00:03:01 by cecofuli »

2017-07-25, 08:30:22
Reply #1

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
the noise estimation is not perfect, so when we improved the sampling in 1.7, the measured noise remained the same, even though the picture is much clearer
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2017-07-25, 11:35:18
Reply #2

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12768
  • Marcin
    • View Profile
Great tests Cecofuli!
The 1.3 shots appear more "smooth" because of different filter type or size, right? It could be probably easily fixed by enabling blur+sharpen in 1.6+
I am also curious how this test scene would behave with "render until it's clear" scenario, rather than setting a fixed time limit. That could be however tricky to setup, especially now that the noise level requires different values across different versions.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2017-07-25, 11:59:30
Reply #3

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
1.3 one doesn't have just different image filtering, it is simply more clean - less noisy, that's it.

My guess would be it's caused by adaptivity. Would be worth running one more test with adaptivity off.

2017-07-25, 12:48:03
Reply #4

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
things I can think of that could cause this:
- adaptivity: different part of the same image could be more noisier in 1.3, post-1.4 the noise is more or less uniform across the image. How to test this: look at the rest of the image, isnt the noise pattern reversed somewhere?
- image filtering: we were previously blurring the image during rendering to reduce noise, but that was not compatible with adaptivity. 1.6+ corona has the option to apply the same blurring as post-effect interactively. How to test this: disable image filtering in 1.3 and rerender, is it more noisy?
- GGX vs. older, more primitive BRDF model. How to test this: does it happen also when the scene is not glossy?
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2017-07-25, 13:53:46
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12768
  • Marcin
    • View Profile
1.3 one doesn't have just different image filtering, it is simply more clean - less noisy, that's it.
My guess would be it's caused by adaptivity. Would be worth running one more test with adaptivity off.
Take a look at sharp edges on Cecofuli's tests. 1.3 is simply more blurry. With that in mind, you cannot really judge how noisy it is.

I am attaching an example of 1.6 hf 2 with and without adaptivity. If anything, it becomes more noisy with adaptivity off, so I don't think re-running the tests with adaptivity off makes sense. ;)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2017-07-25, 14:03:08
Reply #6

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
Well, I did try to take it into photoshop, and blur the 1.7 result about as much as 1.3 one, and it still appeared significantly noisier, even with the slight blur. Blur is not a denoising magic bullet, especially in such a small amount. Of course, in majority of cases, adaptivity helps, that's why it's on by default, but there still may be some cases, where it focuses sampling more on different places. It can often produce images that are noisier on certain places, to ensure noise level is even across the image.

The most obvious step in noise level is between 1.3 and 1.4. Adaptivity was introduced in 1.4, so it would not be unreasonable to assume adaptivity could have impact on it, and re-run the test with it disabled, if Cecofuli has the time to do so.

And lastly, I think it's actually easy to judge how noisy the image is - by just looking at it :) Ultimately, we deliver our images to clients, who don't really care about what the analytic noise level is, but how it looks to their eyes, and I bet if you shown this image to random group of non-cg people, majority of them would consider 1.3 to be the cleanest.

So, if there's any chance of performance regression since 1.3, even if it was just in very specific scenes, it's really worth investigating it :)

2017-07-25, 16:37:37
Reply #7

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com
Hi guys..

I didn't expect so much interest.

v1.3 has default Filter setting, with Width 2.0.
I think that Filter Type isn't so important.

But, it looks like, with the same Filter width, the v1.3 add more "blurry" to the pixels.
So, it was better make the test with Filter width=1, in all version (Sorry)

In attachment the scene (Max 2012 - Corona v1.3 )
« Last Edit: 2017-07-25, 17:04:26 by cecofuli »

2017-07-25, 18:25:13
Reply #8

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com
Ok, new set of test, with all rendering Filter width = 1



2017-07-25, 20:28:18
Reply #9

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8856
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I like how you have to walk an extra mile to make 1.3 look worse than latter releases :] It looks like adaptivity indeed had played major role here.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2017-07-25, 21:15:45
Reply #10

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com
Maybe with the v1.7 we can use a stronger Filter Width to blur a bit the noise, like in the v1.3 =)

2017-07-25, 22:56:02
Reply #11

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
If you want to take filtering out of equation, it's better to set filter type to none rather than width to 1. There is a very slight possibility that filter set to 1 in 1.3 may actually be adding to the noise :)

But other than that, it's what I suspected. You can see on the new test that adaptivity makes some places more noisy, while other places cleaner, generally making the noise level more even across the image. It looks like corona's adaptivity tends to prioritize darker places a bit more. Maybe that could be somehow tweaked in the future :)

2017-07-25, 23:02:05
Reply #12

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com
Ohh.. I'm so stupid! Ahaha.. you are right! But, today I had a very crazy day (really crazy)!
But, I agree with you. Adaptivity should be improved a bit in my opinion.

2017-07-26, 05:16:13
Reply #13

Njen

  • Active Users
  • **
  • Posts: 557
    • View Profile
    • Cyan Eyed
A classic trick we sometimes use in VFX when dealing with dark images in modern renderers is to overlight the scene (expose up every light relatively) to make the render go faster, then in comp to expose down the image back to 'normal'.

2017-07-26, 07:33:14
Reply #14

lacilaci

  • Active Users
  • **
  • Posts: 749
    • View Profile
Is this a fair comparison? Low res render with object/shader/texture and lighting complexity more or less equal across the screen?

AFAIK the purpose of adaptivity is to clear up complex objects in a simple scene equaly so that you don't end up with clean render and couple of noisy objects taking ages to get at acceptable level. I tested adaptivity on/off on couple of scenes yesterday and it worked as expected...

Or are we talking about adaptivity being broken? So that it slows down rendering in the long run?