Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Feature Requests => [Max] Resolved Feature Requests => Topic started by: cecofuli on 2013-09-26, 17:44:02

Title: Better DOF and adaptive sampling...
Post by: cecofuli on 2013-09-26, 17:44:02
Hello,
I know, it's on the "TO DO" list, but I want to show you my test:

3500 px + 4 PC in DR (yes, 4 PC) + 12 hours + 8 PTS = everything was very clean (textures, area shadows, GI) but look at the noise on the DOF =(




Title: Re: Better DOF and adaptive sampling...
Post by: Polymax on 2013-09-26, 19:12:16
try set MSI to 400
Title: Re: Better DOF and adaptive sampling...
Post by: cecofuli on 2013-09-26, 19:15:14
Thanks for the suggestion. I'll try. But, with one PC it was about 44 hours of rendering. So, I think it's a big Corona problem.
Title: Re: Better DOF and adaptive sampling...
Post by: maru on 2013-09-26, 19:17:11
try set MSI to 400

And how could this help?
Title: Re: Better DOF and adaptive sampling...
Post by: cecofuli on 2013-09-26, 19:20:12
The DOF isn't so strong in this scene. The main problem is the DOF  where we have reflective objects and strong highlights.
In this case, the lamp is in clear glass.
Title: Re: Better DOF and adaptive sampling...
Post by: maru on 2013-09-26, 19:36:30
Just for test, I would try selecting this region and rendering this with buckets - give it a small amount of PTS - like 2 and a crazy amount of initial samples like 500 or more.
Title: Re: Better DOF and adaptive sampling...
Post by: Polymax on 2013-09-26, 23:21:01
try set MSI to 400

And how could this help?
This less clamp the samples.
Title: Re: Better DOF and adaptive sampling...
Post by: maru on 2013-09-27, 11:36:40
try set MSI to 400

And how could this help?
This less clamp the samples.

And produces more noise?
Title: Re: Better DOF and adaptive sampling...
Post by: cecofuli on 2013-09-28, 16:41:26
Ok, my test:

(*) As you can see, first test was with CROP option. Both, bucket and progressive, gave me the same result.
(*) Well, with Progressive + PTS = 2 + 45 min, I obtain a clean DOF in 45 min (652 passes). Maybe, after 300-400 was enough.
(*) I render at full resolution + same settings (PTS = 2). In 10 hours  I had 122 passes! For 600, I need 50 hours!
The problem is: with 122 passes everything was clean except the DOF (very noisy)

CONCLUSION: in all my projects, I would like to use real 3D DOF. But, always, I've problem with noise  =(

(http://www.francescolegrenzi.com/Temp/Corona/0024_DOF.png)
Title: Re: Better DOF and adaptive sampling...
Post by: maru on 2013-09-28, 20:04:13
I may be wrong but I think your major mistake here is setting LSM to 16. Direct lighting is not the part of your image that will refine slowest. So with your settings lots of samples will be devoted to direct lighting at the cost of rendering time. Leave LSM at default 2 or even lower it to 1. I hope this will give you some speed improvement.

For me adaptivity is only usable in bucket mode, I'd suggest turning it off when progressive rendering.

So: set LSM to 1, switch to bucket mode, set PTS to 2 or 4, and buckets to something like 500-10-0,02 (but I think it should render in 2-3 passes). If it's still noisy you could try setting PTS or initial samples in buckets to some higher values but I still don't promise any success. ;)

You can also try experimenting with different random samplers but I'm not sure how they work.
Title: Re: Better DOF and adaptive sampling...
Post by: Ludvik Koutny on 2013-09-28, 22:24:41
I would try to raise PT samples, maybe 16-32...  and Light samples multiplier probably does not need to be that high... for LSM, i would try 2-4...
Title: Re: Better DOF and adaptive sampling...
Post by: cecofuli on 2013-09-29, 18:49:03
Unfortunately, I don't have too much time to do a new test, but I think with low LSM  nothing change. I did some very fast render, with small crop. With the same time (2 minutes) the noise in the hard region still here...
Title: Re: Better DOF and adaptive sampling...
Post by: rafpug on 2013-09-29, 21:01:48
Hello cecofuli

...Adaptive 3  - 15 - 0,02   

This value 15 corresponds to the method Bucket ?

Title: Re: Better DOF and adaptive sampling...
Post by: maru on 2013-09-29, 21:17:48
No... He wrote PROGRESSIVE right over it. You can't set bucket passes to more than 10...
Title: Re: Better DOF and adaptive sampling...
Post by: rafpug on 2013-09-29, 22:08:48
Hi maru

yes,
and the value 15 corresponds to what?

I read Adaptivity, perhaps it is a new parameter of the build?
Title: Re: Better DOF and adaptive sampling...
Post by: maru on 2013-09-30, 10:25:55
Yes, new adaptivity features are available in daily builds. You can read about them here:
http://forum.corona-renderer.com/index.php/topic,1126.0.html
Title: Re: Better DOF and adaptive sampling...
Post by: rafpug on 2013-09-30, 21:47:08
Yes, new adaptivity features are available in daily builds. You can read about them here:
http://forum.corona-renderer.com/index.php/topic,1126.0.html

Thanks maru ...
Title: Re: Better DOF and adaptive sampling...
Post by: Ondra on 2013-11-13, 17:48:15
Duplicate thread: http://forum.corona-renderer.com/index.php/topic,1448.0.html
Title: Re: Better DOF and adaptive sampling...
Post by: Ondra on 2016-04-07, 23:03:37
done