New OIDN 1.4 with new features and better detail preservation

Discussion related to the LuxCore functionality, implementations and API.
User avatar
Sharlybg
Donor
Posts: 2858
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: New OIDN 1.4 with new features and better detail preservation

Post by Sharlybg » Tue Jun 01, 2021 7:58 am

It is clearly better ! ;)
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

juangea
Donor
Posts: 324
Joined: Thu Jan 02, 2020 6:23 pm

Re: New OIDN 1.4 with new features and better detail preservation

Post by juangea » Tue Jun 01, 2021 8:57 am

Yep I'm starting to see some benefits in some pictures.
While it's not my final analysis I think I have observer the improvement in something very important, I'll show the tests as soon as I have some time :)

juangea
Donor
Posts: 324
Joined: Thu Jan 02, 2020 6:23 pm

Re: New OIDN 1.4 with new features and better detail preservation

Post by juangea » Wed Jun 16, 2021 8:50 pm

This is one situation where I think having the option to consider the albedo as totally clean and not prefilter it could be better, in this case we loose detail in the cloth texture because it's being interpreted as noise when it's not, and the scene has more than 3000 samples.

This is the denoiser output:
blender_YxnJwFGSsQ.png
And this is the Albedo:
blender_tcjuicdFJb.png
I can assure you that the Albedo is totally clean, but OIDN is considering that detail as noise I suspect, and that's why it's removing it from the final image.

So having this option I think can improve result in these situations, and I imagine that's what the option is useful for.

This is the zone without denoiser:
blender_9utegzGM4J.png

User avatar
Dade
Developer
Posts: 5456
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: New OIDN 1.4 with new features and better detail preservation

Post by Dade » Wed Jun 16, 2021 9:02 pm

I can easily add an option to enable/disable albedo pre-filtering but how does look the normal pass in that case ?

It may also be a good example to report to Intel OIDN guys.
Support LuxCoreRender project with salts and bounties

bestman8
Posts: 15
Joined: Sat Jul 25, 2020 6:45 pm

Re: New OIDN 1.4 with new features and better detail preservation

Post by bestman8 » Wed Jun 16, 2021 9:45 pm

Dade wrote:
Wed Jun 16, 2021 9:02 pm
I can easily add an option to enable/disable albedo pre-filtering but how does look the normal pass in that case ?

It may also be a good example to report to Intel OIDN guys.
does that also mean you can turn it off and on for albedo and normal individually. i would think something like this in the blender addon
edited.png
(this is just photoshop)

kintuX
Posts: 689
Joined: Wed Jan 10, 2018 2:37 am

Re: New OIDN 1.4 with new features and better detail preservation

Post by kintuX » Wed Jun 16, 2021 10:07 pm

Is maybe lack of microfacet normal mapping having a diminishing affect on denoiser?

User avatar
Dade
Developer
Posts: 5456
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: New OIDN 1.4 with new features and better detail preservation

Post by Dade » Wed Jun 16, 2021 10:58 pm

kintuX wrote:
Wed Jun 16, 2021 10:07 pm
Is maybe lack of microfacet normal mapping having a diminishing affect on denoiser?
That is the reason of my question.
Support LuxCoreRender project with salts and bounties

User avatar
Dade
Developer
Posts: 5456
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: New OIDN 1.4 with new features and better detail preservation

Post by Dade » Wed Jun 16, 2021 10:58 pm

bestman8 wrote:
Wed Jun 16, 2021 9:45 pm
does that also mean you can turn it off and on for albedo and normal individually. i would think something like this in the blender addon
edited.png (this is just photoshop)
Normal doesn't/can't be filter but yes for Albedo.
Support LuxCoreRender project with salts and bounties

juangea
Donor
Posts: 324
Joined: Thu Jan 02, 2020 6:23 pm

Re: New OIDN 1.4 with new features and better detail preservation

Post by juangea » Wed Jun 16, 2021 11:31 pm

There are three options AFAIK:

- Use Albedo as before
- Pre-Filter Albedo to remove residual noise
- Consider Albedo as 100% clean

The one I refer to is the third one, it does consider Albedo as perfectly clean, like pre-filter but without pre-filter :)

I don’t have the render right now, I’ll repeat it tomorrow and show you the normal, however it was pretty clean, the shader is mainly Albedo and roughness, with a tiny bit of normal, the artifacts you see there are because a too high normal intensity, but the blurring happens without that too (I tested it 10 minutes ago, before seeing this message, sorry)

juangea
Donor
Posts: 324
Joined: Thu Jan 02, 2020 6:23 pm

Re: New OIDN 1.4 with new features and better detail preservation

Post by juangea » Tue Jun 22, 2021 10:04 pm

Here is an example with the three channels, Beauty, Albedo and Avg Shding Normal.

As you can see all the texture detail is being killed in the denoise process, and I think it is because the Albedo PreProcess detecs the texture detail as noise.

Albedo is noise free enough, at least to try it, you see it here a bit pixelated because it's a zoom, and the texture has a very fine grain detail, so the "noise" you see is part of the texture, not part of the render.

Beauty with noise blurrying the result:
Captura de pantalla de 2021-06-22 23-57-28.png
Albedo noise free
Captura de pantalla de 2021-06-22 23-57-38.png
Normal
Captura de pantalla de 2021-06-22 23-57-50.png
Also here is the crop oat real resolution.

Denoised:
Captura de pantalla de 2021-06-23 00-02-24.png
Captura de pantalla de 2021-06-23 00-02-24.png (77.23 KiB) Viewed 1367 times
Non-Denoised:
Captura de pantalla de 2021-06-23 00-02-32.png
Captura de pantalla de 2021-06-23 00-02-32.png (106.82 KiB) Viewed 1367 times
Albedo:
Captura de pantalla de 2021-06-23 00-02-38.png
Captura de pantalla de 2021-06-23 00-02-38.png (49.09 KiB) Viewed 1367 times
Normal:
Captura de pantalla de 2021-06-23 00-02-45.png
Captura de pantalla de 2021-06-23 00-02-45.png (79.18 KiB) Viewed 1367 times

Post Reply