Optix denoiser imagepipeline plugin

Discussion related to the LuxCore functionality, implementations and API.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Optix denoiser imagepipeline plugin

Post by B.Y.O.B. »

The Optix denoiser is not used in the addon yet.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Optix denoiser imagepipeline plugin

Post by B.Y.O.B. »

@Dade, do you think it would make sense to add a "minimum samples per pixel" parameter to the denoiser imagepipeline plugins? Where the plugin would do nothing until the spp are above the minimum threshold.
It would be easier than checking the Samples/pixel in the addon and update the imagepipeline based on the results.

The reason is that OptiX returns an image with big black squares when there aren't enough samples, and this leads to heavy flickering when moving the camera around.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Optix denoiser imagepipeline plugin

Post by Dade »

B.Y.O.B. wrote: Fri Jul 31, 2020 12:36 pm @Dade, do you think it would make sense to add a "minimum samples per pixel" parameter to the denoiser imagepipeline plugins? Where the plugin would do nothing until the spp are above the minimum threshold.
It would be easier than checking the Samples/pixel in the addon and update the imagepipeline based on the results.

The reason is that OptiX returns an image with big black squares when there aren't enough samples, and this leads to heavy flickering when moving the camera around.
I noticed this problem happens only if you use the ALBEDO+NORMAL AOVs (new feature, supported only by Optix v7.1) so a possible solution would be to use only ALBEDO AOV (supported also by Optix v7.0) for preview. It is a bit strange as behavior and, at first, I have classified it as a possible beta driver bug.

The alternative would be to wait a bit of samples/pixel, as you wrote, however it isn't very clear where the threshold should be and you may still end with some black tile.
In this case, you can define 2 pipelines, one without Optix and one with and than use the first one for few samples/pixel and switch to the second one after. So you will not have to do any scene edit (probably causing a restart of the render).
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Optix denoiser imagepipeline plugin

Post by B.Y.O.B. »

Dade wrote: Fri Jul 31, 2020 1:05 pm The alternative would be to wait a bit of samples/pixel, as you wrote, however it isn't very clear where the threshold should be and you may still end with some black tile.
In this case, you can define 2 pipelines, one without Optix and one with and than use the first one for few samples/pixel and switch to the second one after. So you will not have to do any scene edit (probably causing a restart of the render).
Editing the imagepipeline would not cause a scene edit either.

Anyway, I would make this feature user-configurable, because some might prefer a bit of noise during the first x samples rather than a completeyl smudgy image, even if the black tiles thing is a bug that is eventually fixed.
From a programming perspective, I think it would be much easier to do this check in the imagepipeline plugin than in the Blender addon, so if you are OK with this, I would add it there.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Optix denoiser imagepipeline plugin

Post by Dade »

B.Y.O.B. wrote: Fri Jul 31, 2020 1:44 pm From a programming perspective, I think it would be much easier to do this check in the imagepipeline plugin than in the Blender addon, so if you are OK with this, I would add it there.
It should be easy to add as an additional plugin option.
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Optix denoiser imagepipeline plugin

Post by Sharlybg »

Are we going to have this same behaviour a the end :?: : https://youtu.be/oYjrnsKzApM?t=28
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Optix denoiser imagepipeline plugin

Post by B.Y.O.B. »

Yes, pretty much.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Optix denoiser imagepipeline plugin

Post by Sharlybg »

B.Y.O.B. wrote: Fri Jul 31, 2020 2:39 pm Yes, pretty much.
Top :geek:
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Odilkhan Yakubov
Posts: 208
Joined: Fri Jan 26, 2018 10:07 pm
Location: Tashkent, Uzbekistan

Re: Optix denoiser imagepipeline plugin

Post by Odilkhan Yakubov »

Is there has any release date on optixdenoiser?
___________________________________________________________________________
LuxCoreRender Developer for Blender
___________________________________________________________________________
juangea
Donor
Donor
Posts: 332
Joined: Thu Jan 02, 2020 6:23 pm

Re: Optix denoiser imagepipeline plugin

Post by juangea »

I dare to say... when it´s ready in alpha builds and the release date for 2.5 in general will be... when it´s ready :)

Now, regarding the availability in alpha builds, as soon as BYOB finishes it you will be able to test it, as always :)
Post Reply