Author Topic: Hidden render elements for denoising explanation  (Read 2350 times)

2019-01-10, 12:12:29

enthanion

  • Users
  • *
  • Posts: 4
    • View Profile
Hello!
I'm trying to understand what additional data is stored inside the CXR files. There is some info about the format in wiki (https://corona-renderer.com/wiki/corona_exr) but not much about included channels (the only thing mentioned is that they are here for denoising). Here's what I can guess, correct me if I'm wrong:
VisibleDiffuse - CShading_SourceColor
VisibleNormals - CGeometry_NormalsShading
Hybrid - Is this some kind of ZDepth? What is it's range?
HairIds - ?
Prefixed by Sqr - 1.0 gamma versions of non-prefixed?

2019-01-14, 12:15:08
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13786
  • Marcin
    • View Profile
We can probably provide explanations what those secret elements are, but why exactly do you need this info?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2019-01-14, 12:43:07
Reply #2

enthanion

  • Users
  • *
  • Posts: 4
    • View Profile
The main reason - I want to to generate them manually. Well, if it is some sort of secret info you can't share, I'm ok with it.

2019-01-18, 13:09:57
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13786
  • Marcin
    • View Profile
The main reason - I want to to generate them manually.
But why? :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2019-01-22, 11:47:22
Reply #4

enthanion

  • Users
  • *
  • Posts: 4
    • View Profile
But why? :)
Well, here's the situation: I've got a rendered frame that doesn't contain these elements but I'd like to denoise it so I need to get these elements somehow. A possible solution would be to use Resume from file... but as it is stated in this article the resulting image might not be denoised properly.
In V-Ray's denoising tool you can easily generate the missing elements if you need to so I started wondering - if it is any similar in Corona's one? As it turns out, not really - these elements are hidden in first place (you can still access them using any exr-viewer\editor) and some of them look like specific ones you can't generate using available render elements anyways. Or can you?
« Last Edit: 2019-01-23, 03:41:27 by enthanion »

2019-01-28, 17:32:12
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13786
  • Marcin
    • View Profile
Currently this can only be done with the Resume feature. If enough passes are rendered with denoising enabled, it should work fine.

I have additionally logged a feature request, but it is not going to be high priority.
(internal note id=312883432)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2019-01-31, 11:07:53
Reply #6

enthanion

  • Users
  • *
  • Posts: 4
    • View Profile
I have additionally logged a feature request, but it is not going to be high priority.
(internal note id=312883432)
Nice to hear, thanks.
As I understand, the denoiser will only consider noise info from the passes that were done after resuming, so you lose all the info about it before, right? Is there any way to make denoiser use fixed noise threshold for the whole image rather than deriving it from passes? Like manipulating CORONA_FB_WEIGHTS/Hybrid somehow?