\Hi, i'm struggling a bit with Oidn which always blurs important details form renderings.
We tried by using multiple samplers but results are very similar one to each other.
In the following image the main problem is the floor in the background which suddenly blurs.
I know there are multiple tricks to avoid this by using albedo, or other channels, as a signal/noise reference for oidn, but i don't know which is the best one. Can someone please help me with that?
Best noise reduction approach
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Re: Best noise reduction approach
OIDN will use the ALBEDO and AVG_SHADING_NORMAL AOVs when the are present. Did you enable them?
(I'm assuming you are not rendering inside Blender, where this happens automatically)
(I'm assuming you are not rendering inside Blender, where this happens automatically)
Re: Best noise reduction approach
Thanks BYOB, yes , we re rendering from command line. Do you think it's enough to enable albedo form the image pipeline or something like that?
Re: Best noise reduction approach
Don't worrie, i think we can manage it now. Thanks !
Re: Best noise reduction approach
Is that enough :
Code: Select all
film.outputs.0.type = "RGB_IMAGEPIPELINE"
film.outputs.0.index = 0
film.outputs.0.filename = "RGB_IMAGEPIPELINE_0.png"
film.outputs.1.type = "ALBEDO"
film.outputs.1.filename = "ALBEDO.exr"
film.outputs.2.type = "AVG_SHADING_NORMAL"
film.outputs.2.filename = "AVG_SHADING_NORMAL.exr"
Re: Best noise reduction approach
The best (and expansive) solution to help OIDN (and most denoisers) to not loose details is to render at higher resolution (2x or 4x, etc.), denoise, and than scale down to the intended image resolution.
Re: Best noise reduction approach
@Sharlybg, yes, that looks correct. You should see the difference in the denoised result.
Re: Best noise reduction approach
We are now able to output the OIDN require passes to the disk but we don't know if OIDN is using theses files (we also don't see improvement on the denoising).
Is there a particular folder where to put the files or something to tell OIDN to do to take passes in account ?
Re: Best noise reduction approach
OIDN doesn't read the files from disk, they are read directly from RAM if the AOVs are enabled in LuxCore.
Re: Best noise reduction approach
The plugin print a warning if they are not available/found (in memory, not on disk): https://github.com/LuxCoreRender/LuxCor ... dn.cpp#L87Sharlybg wrote: ↑Fri Dec 11, 2020 9:14 amWe are now able to output the OIDN require passes to the disk but we don't know if OIDN is using theses files (we also don't see improvement on the denoising).
Is there a particular folder where to put the files or something to tell OIDN to do to take passes in account ?