Author Topic: Render region excluded from adaptivity - can it be done?  (Read 3825 times)

2020-11-05, 00:59:08

Bormax

  • Active Users
  • **
  • Posts: 503
    • View Profile
Hi
I like the idea of adaptivity, it works really well and it's really nice to have possibility to limit render time by the quality of rendered picture. But it can easily multiply render time by 2 if some noisy looking object takes part in a scene. For example if some regular interior scene with plain background picture needs about 10 minutes to render small size image with 3% noise level, then the same scene with 3D-tree behind the window takes 17-20 minutes to reach the same noise level on render. In fact this tree looks the same after 10 minutes of rendering the whole picture with adaptivity OFF. The same increasing of render time takes place if there is some "noisy" looking rug on a floor or any other "noisy" object represented in a scene.
At the moment when I'm in hurry in order to save some time for rendering I render picture with adaptivity ON excluding regions with trees, grass or other "noisy" objects, after that I render "noisy" areas with adaptivity OFF, then compose results in PS. I don't like this way, that's why I'd like to ask -
IS it possible to make this exclusion by Corona tools? In theory - is it possible at all?
If it could be done, excluded from adaptivity region could be selected the same way as "Render selected" works. In this case certain object(s) could be excluded from adaptivity and rendered the same way as they would be rendered if adaptivity OFF, which can save pretty much time for rendering preliminary or even final images.
What do you think about it?

2020-11-12, 10:43:49
Reply #1

Ryuu

  • Corona Team
  • Active Users
  • ****
  • Posts: 645
  • Michal
    • View Profile
Hi, I'm not really sure if we should treat this as a feature request or as a bug report :)

The thing you're asking for is definitely possible, but TBH this feels like asking for a workaround for something that ideally should just work. Would you be willing to share with us some of the problematic scenes you mention? We could take a look at those and see if we could tweak the adaptivity/noise level calculation based on this.

2020-11-13, 23:48:03
Reply #2

Bormax

  • Active Users
  • **
  • Posts: 503
    • View Profile
Thanks Ryuu for your reply!

For sure that it is not a bug, everything is working as it supposed to work. As you said it's kind of workaround which I would use to save some time for work cutting rendering time with minimum loss of picture quality. Everything said above is not concerning some certain scene(s), it's pretty common thing for most of my interior scenes. Maybe it would be more clear if I illustrate what I do manually and it will make more clear what I mean saying  "Render region excluded from adaptivity"

Here is very simple example scene and it's clearly illustrate the idea.

First lets check how much hairy carpet affects the render time. All pictures with adaptivity ON rendered with 4% noise level limit.
Picture 1 - no fur on the carpet, adaptivity ON - render time 2.33.
Picture 2 - carpet with fur, adaptivity ON - render time 25.35.
Picture 3 - carpet with fur, adaptivity OFF - render time 10.19. I rendered this full frame until the moment when the quality of carpet area reached acceptable level comparable with carpet on Picture 2.




Next pictures illustrate what I normally do to cut the time for rendering preliminary pictures for clients.
Picture 4 - carpet with fur, adaptivity ON, but problematic region with carpet excluded from render (this is the moment when I dream about polygonal not rectangular render region frame) - render time 3.47
Picture 5 - carpet with fur, adaptivity OFF, but only problematic region (this is the moment when I dream about possibility to invert render region (requested in Feature request)) with carpet was rendered until acceptable look - render time 5.06


In this scene I could use Render selected - Include/exclude list functionality to mark the area for render, but it works not for all cases in different scenes, so I've chosen Render Region for this illustration.

If I would render a real project I would need to blend Pictures 4 and 5 in PS (this is the moment when I dream about Render region mask element(requested in Feature request)) because of Bloom And Glare which works only with rendered region. In this particular case I've got Picture 5 with actually the same quality as Picture 2 in 3.47+5.06 min = 8.43 min instead of 25.35 min of render full frame with adaptivity ON.
Of course, this is very simple scene and the difference between variants of render in normal working scenes is not that huge, but anyway it saves me pretty much time if we are talking about sets of 5-8 2400x1800 pictures for clients. If this could be done automatically inside Corona during the single render session (the same picture will be rendered partly with adaptivity ON and partly with adaptivity OFF), it will save even more time not only during the work on pictures for clients, but during the working process with IR or production render of drafts.
« Last Edit: 2020-11-14, 16:32:14 by Bormax »

2020-11-25, 14:03:53
Reply #3

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 475
  • George
    • View Profile
Thanks Ryuu for your reply!

For sure that it is not a bug, everything is working as it supposed to work. As you said it's kind of workaround which I would use to save some time for work cutting rendering time with minimum loss of picture quality. Everything said above is not concerning some certain scene(s), it's pretty common thing for most of my interior scenes. Maybe it would be more clear if I illustrate what I do manually and it will make more clear what I mean saying  "Render region excluded from adaptivity"

Here is very simple example scene and it's clearly illustrate the idea.

First lets check how much hairy carpet affects the render time. All pictures with adaptivity ON rendered with 4% noise level limit.
Picture 1 - no fur on the carpet, adaptivity ON - render time 2.33.
Picture 2 - carpet with fur, adaptivity ON - render time 25.35.
Picture 3 - carpet with fur, adaptivity OFF - render time 10.19. I rendered this full frame until the moment when the quality of carpet area reached acceptable level comparable with carpet on Picture 2.

Next pictures illustrate what I normally do to cut the time for rendering preliminary pictures for clients.
Picture 4 - carpet with fur, adaptivity ON, but problematic region with carpet excluded from render (this is the moment when I dream about polygonal not rectangular render region frame) - render time 3.47
Picture 5 - carpet with fur, adaptivity OFF, but only problematic region (this is the moment when I dream about possibility to invert render region (requested in Feature request)) with carpet was rendered until acceptable look - render time 5.06
In this scene I could use Render selected - Include/exclude list functionality to mark the area for render, but it works not for all cases in different scenes, so I've chosen Render Region for this illustration.

If I would render a real project I would need to blend Pictures 4 and 5 in PS (this is the moment when I dream about Render region mask element(requested in Feature request)) because of Bloom And Glare which works only with rendered region. In this particular case I've got Picture 5 with actually the same quality as Picture 2 in 3.47+5.06 min = 8.43 min instead of 25.35 min of render full frame with adaptivity ON.
Of course, this is very simple scene and the difference between variants of render in normal working scenes is not that huge, but anyway it saves me pretty much time if we are talking about sets of 5-8 2400x1800 pictures for clients. If this could be done automatically inside Corona during the single render session (the same picture will be rendered partly with adaptivity ON and partly with adaptivity OFF), it will save even more time not only during the work on pictures for clients, but during the working process with IR or production render of drafts.

Hi Bormax, could you please archive this test scene and upload it using our private uploader? (Private uploader: https://corona-renderer.com/upload

We would like to take some further look into this, thanks.
For solutions and troubleshooting please visit - [link]
Please submit your tickets here - [link]

2020-11-25, 20:36:38
Reply #4

Bormax

  • Active Users
  • **
  • Posts: 503
    • View Profile
Hi
Done. Filename is 1606332788_carpet-aadaptivity.zip
Thanks!

2020-11-26, 09:34:09
Reply #5

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 475
  • George
    • View Profile
Hi
Done. Filename is 1606332788_carpet-aadaptivity.zip
Thanks!

Thank you!

(internal id=601086172)
« Last Edit: 2020-11-26, 10:24:17 by GeorgeK »
For solutions and troubleshooting please visit - [link]
Please submit your tickets here - [link]

2021-03-19, 14:19:07
Reply #6

Bormax

  • Active Users
  • **
  • Posts: 503
    • View Profile

2021-04-12, 21:39:20
Reply #7

twoheads

  • Active Users
  • **
  • Posts: 252
    • View Profile