Thanks CodeHD for you answer.
Does it mean that I only need to add TONEMAP_LINEAR to image pipeline and scale it with 0.39 factor?
exr image output
Re: exr image output
No, the factor 0.39 was the ratio between the scale factors for different gamma, not the scale factor itself. At gamma 2.2, this evaluates to 2.465e-4.
Re: exr image output
It is not a linear space. A fixed scale can not fix the problem but I assume it is exactly what you are trying to show.
-
- Posts: 116
- Joined: Mon Oct 26, 2020 11:42 am
Re: exr image output
Thanks a lot CodeHD. Your solution is exactly what I needed. Finally exr is identical to png
I post the final pipeline code. Maybe someone will have the same problem
Code: Select all
film.imagepipelines.1.0.type = "NOP"
film.imagepipelines.1.1.type = "NOP"
film.imagepipelines.1.2.type = "TONEMAP_LUXLINEAR"
film.imagepipelines.1.2.sensitivity = "100"
film.imagepipelines.1.2.exposure = 0.1
film.imagepipelines.1.2.fstop = 22
film.imagepipelines.1.3.type = "GAMMA_CORRECTION"
film.imagepipelines.1.3.value = "2.2"
film.outputs.2.type = "RGB_IMAGEPIPELINE"
film.outputs.2.index = 1
film.outputs.2.filename = "c:\Bartek\stack\LuxCoreTests\exrGammaProblems\rgb_g22.png"
film.imagepipelines.3.0.type = "NOP"
film.imagepipelines.3.1.type = "NOP"
film.imagepipelines.3.2.type = "TONEMAP_LUXLINEAR"
film.imagepipelines.3.2.sensitivity = "100"
film.imagepipelines.3.2.exposure = 0.1
film.imagepipelines.3.2.fstop = 22
film.imagepipelines.3.3.type = "TONEMAP_LINEAR"
film.imagepipelines.3.3.scale = "0.39"
film.outputs.6.type = "RGB_IMAGEPIPELINE"
film.outputs.6.index = 3
film.outputs.6.filename = "c:\Bartek\stack\LuxCoreTests\exrGammaProblems\rgb_noGamma_tonemaper.exr"