Optix denoiser imagepipeline plugin

Discussion related to the LuxCore functionality, implementations and API.
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 »

:D ohh, my apologize. Thanks.
___________________________________________________________________________
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 »

No need to apologize :)
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. »

I have tested a "min spp" property in the OptiX denoiser plugin, but it does not completely solve the issue.
For example, if I raise the min spp until the black squares go away in one particular camera view, they may still appear after moving the camera around. I guess we will have to not use the Normal AOV as you suggested until this bug is fixed in OptiX.
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. »

First tests with OptiX in the Blender addon: https://youtu.be/xZf1XW9AqRI

Sometimes Blender crashes when ending a render with OptiX, however I don't know yet wether this is caused by the OptiX raytracing part or the denoiser part.
juangea
Donor
Donor
Posts: 332
Joined: Thu Jan 02, 2020 6:23 pm

Re: Optix denoiser imagepipeline plugin

Post by juangea »

Amazing BYOB :D
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: Sat Aug 01, 2020 2:46 pm First tests with OptiX in the Blender addon: https://youtu.be/xZf1XW9AqRI

Sometimes Blender crashes when ending a render with OptiX, however I don't know yet wether this is caused by the OptiX raytracing part or the denoiser part.
Seriously this is realtime :shock:
As i told years before eevee is almost dead.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
juangea
Donor
Donor
Posts: 332
Joined: Thu Jan 02, 2020 6:23 pm

Re: Optix denoiser imagepipeline plugin

Post by juangea »

Is it already in the daily build? :)
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. »

juangea wrote: Sat Aug 01, 2020 7:31 pmdaily
Yes, it should work.
In the user preferences, make sure you are using the CUDA backend, with OptiX enabled, and use a CUDA film device.
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: Sat Aug 01, 2020 2:46 pm First tests with OptiX in the Blender addon: https://youtu.be/xZf1XW9AqRI
I assume, just to be clear, this is Optix with RTX hardware (i.e. a slower render will make the Optix denoiser work harder so RTX indirectly helps too). But older GPUs shouldn't be far from this kind of speed too (in this scene).

P.S. you have RTX accelerating ray tracing and tensor cores accelerating the denoising.
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. »

Yes, this was done on an RTX 2080.

It feels so fluid that I suspect the denoising time is only a few milliseconds.
This is also why I have so far just put in the denoiser plugin into the imagepipeline, meaning the denoiser runs on every film refresh (very often).
This is not doable with a slower denoiser like OIDN, I tested it, the UI becomes extremely laggy and unusuable (which is why I run OIDN in the background in a separate process).
Indeed, we should decide what to do on slower devices: Do we implement a separate code path where Optix is only run every few seconds, in the background? Or do we just say that users with slower hardware should use OIDN instead?

I tend towards the second option (it would save work and maintenance effort in the future).
However, the existing OIDN denoising could be improved, for example by adding the option to denoise in intervals every few seconds instead of only once when the render pauses.
Post Reply