alpistinho wrote: Sun Feb 03, 2019 11:29 am
I've set-up a second image pipeline but it doesn't change the image in any way, even though it becomes very slow and something is happening.
So the image only updates every 4 seconds.
Also, you have to open "Window -> Film Outputs editor", look for your OIDN-imagepipeline and click "Show". This will trigger the imagepipeline for the first time.
Then you have to resize the new window.
You can re-run the imagepipeline with the "Refresh" button on the top left.
So the image only updates every 4 seconds.
Also, you have to open "Window -> Film Outputs editor", look for your OIDN-imagepipeline and click "Show". This will trigger the imagepipeline for the first time.
Then you have to resize the new window.
You can re-run the imagepipeline with the "Refresh" button on the top left.
I did that but there are no filters showing on the "Current Film Outputs settings". The log lines I've added indicate that the code is running, however.
[LuxCore][179.756] [IntelOIDNPlugin] Copying Film to output buffer
[LuxCore][183.828] [IntelOIDNPlugin] Copying Film to input buffer
[LuxCore][183.882] [IntelOIDNPlugin] Executing filter
Can you check my configuration file to see if I'm doing something wrong with it?
alpistinho wrote: Sun Feb 03, 2019 12:06 pm
film.imagepipelines.1.0.type = GAMMA_CORRECTION
film.imagepipelines.1.0.value = 2.2
film.imagepipelines.1.1.type = INTEL_OIDN
I would put the gamma correction after the denoising step, but otherwise, I can't find anything wrong.
I'll try to compile your branch on my machine.
I just noticed that I was assuming that the Film would be tonemapped, the filter is even set up for LDR, but maybe that's not true.
Since there is no tonemapper defined, is the input film HDR and luxcoreui just tonemaps before drawing on the screen?
Support LuxCoreRender project with salts and bounties
alpistinho wrote: Sun Feb 03, 2019 12:06 pm
film.imagepipelines.1.0.type = GAMMA_CORRECTION
film.imagepipelines.1.0.value = 2.2
film.imagepipelines.1.1.type = INTEL_OIDN
I would put the gamma correction after the denoising step, but otherwise, I can't find anything wrong.
I'll try to compile your branch on my machine.
I just noticed that I was assuming that the Film would be tonemapped, the filter is even set up for LDR, but maybe that's not true.
Since there is no tonemapper defined, is the input film HDR and luxcoreui just tonemaps before drawing on the screen?
A normal image pipeline has a tone mapper plugin at some point. The denoiser should be the very first plugin in an image pipeline and it will receive the image in HDR format.
B.Y.O.B. wrote: Sun Feb 03, 2019 12:13 pm
I would put the gamma correction after the denoising step, but otherwise, I can't find anything wrong.
I'll try to compile your branch on my machine.
I just noticed that I was assuming that the Film would be tonemapped, the filter is even set up for LDR, but maybe that's not true.
Since there is no tonemapper defined, is the input film HDR and luxcoreui just tonemaps before drawing on the screen?
A normal image pipeline has a tone mapper plugin at some point. The denoiser should be the very first plugin in an image pipeline and it will receive the image in HDR format.
I've set the filter to HDR and used your suggestion, but saw no change.
I've then changed some data structures to mimic exactly what they're doing on the documentation and while the image does not look denoised, it is different. It has some weird stripe pattern
Support LuxCoreRender project with salts and bounties
alpistinho wrote: Sun Feb 03, 2019 1:47 pm
Is there support for imagepipeline plugins to receive multiple films as input?
Looking at the ImagePipelinePlugin class it seems there is not, should it be extended to receive multiple Films?
What do you mean ? A film can have one or more image pipelines and each image pipeline can have any number of plugins. So if you use the Oidn plugin multiple times, there will be multiple/different instances of your class and each one will be called with a different film (so I assume the answer to your question is no).
Support LuxCoreRender project with salts and bounties