Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Feature Requests => Topic started by: arpit077 on 2019-09-03, 11:17:30

Title: Adaptive Rendering
Post by: arpit077 on 2019-09-03, 11:17:30
Hi, Can Adaptive Rendering be a feature in future release or can it be done?

Adaptive Rendering in the sense like, when I hit Interactive Render in corona. CPU usage becomes like 99% and remains 99% unless i stop it. Even if the whole scene is just white color and no object, the cpu runs at 99%.

I saw it in blender with cycles as Images starts to hit a minimum threshold, the cpu usage starts lowering and lowering as if it knows how much cores count or cpu power it needs to clean the rest of noise. Which makes Interactive more flexible as no one ever use Interactive to final render the image. Having adaptive rendering might be great feature if it is possible.

I hope it makes sense. :)
Title: Re: Adaptive Rendering
Post by: TomG on 2019-09-03, 14:19:26
I don't see the benefit? Since you could set a noise limit, Corona will stop the entire render whenever it is done. And Corona is already adaptive, in that it puts more processing power where the noise is more prominent and where more sampling is needed, so it effectively reduces CPU usage on areas that are cleaning up faster and focuses on the areas that are still noisy (so again, it will stop once the noise limit is reached, having spent more of that 99% processor power on the areas that were not cleaning up, which is rather like you asked for)
Title: Re: Adaptive Rendering
Post by: TomG on 2019-09-03, 14:20:59
(in other words, if Corona is still rendering, there's still noise to clean up, and it's already putting that CPU power more to the noisy areas).
Title: Re: Adaptive Rendering
Post by: arpit077 on 2019-09-07, 13:56:34
Yes, But if my scene is totally empty with no object and light. So it is rendering totally black but it is utilizing CPU usage 99% to clean a completely clean black Image with nothing it it. I was hoping if we can make corona smarter. And vray already has this feature.
Title: Re: Adaptive Rendering
Post by: romullus on 2019-09-07, 15:21:50
Does it really matters if Corona uses 100% or 1% CPU when rendering empty scene if the result will be the same? I'm pretty sure that 99,9% uf users never render empty scenes with Corona, because if one wants completely black picture, it is much easier to open photoshop and fill the black colour in.
Title: Re: Adaptive Rendering
Post by: lupaz on 2019-09-07, 20:34:28
Maybe a nice feature would be to use more samples on the selected objects? So if you're trying to work on a texture on a particular object, then that object renders faster if selected in viewport, while the rest of the image remains more noisy.
Currently with "render Selected" the interactive rendering starts over. With this new feature the adaptability would be interactive depending on the selection.
Title: Re: Adaptive Rendering
Post by: James Vella on 2019-09-08, 09:00:57
Maybe a nice feature would be to use more samples on the selected objects? So if you're trying to work on a texture on a particular object, then that object renders faster if selected in viewport, while the rest of the image remains more noisy.
Currently with "render Selected" the interactive rendering starts over. With this new feature the adaptability would be interactive depending on the selection.

It actually does work this way in interactive rendering.

Make sure you disable Clear VFB Between renders in the System tab in Render Setup (Settings).

edit: this seems to be effective with smaller scenes. After testing with a large scene you are right to some degree there does seem to be a recalculation at the start of the interactive but the noisey parts dont update, but it is slower (probably due to calculating reflections of many objects).
Title: Re: Adaptive Rendering
Post by: arpit077 on 2019-09-08, 15:03:05
Does it really matters if Corona uses 100% or 1% CPU when rendering empty scene if the result will be the same? I'm pretty sure that 99,9% uf users never render empty scenes with Corona, because if one wants completely black picture, it is much easier to open photoshop and fill the black colour in.

I think it might matter as I could leave Interactive rendering happening on my second screen while I keep working on my max scene and see live results. If corona interactive is utilizing 99% cpu usage all the time then multitasking becomes difficult as it would slow other applications.
Title: Re: Adaptive Rendering
Post by: romullus on 2019-09-08, 16:09:36
If you feel that interactive is slowing down your PC too much, you can always go to system settings and restrict number of threads available to it. By default it is set to -1, meaning that IR will utilize all the threads except one. Try to set it to -2 or -3, untill you'll find where your system is responsive enough.
Title: Re: Adaptive Rendering
Post by: arpit077 on 2019-09-09, 19:50:18
Yes, I am currently using corona like this only :)