Thanks!
Transitioning from VRay to LuxCoreRender
Re: Transitioning from VRay to LuxCoreRender
Another question: can we store OBJECT_ID AOV in an exr? I'm getting this error:
RuntimeError: Object ID image can be saved only in non HDR formats: 4
But in wiki (https://wiki.luxcorerender.org/LuxCore_ ... ka_AOVs.29) OBJECT_ID is marked as "HDR".
And with VRay, it is stored in a channel of uint type instead of float type and my program can successfully read from it (and values are correct).
Is this intended, or a bug? If it's not a bug, how is it stored? I'm asking because I tried to store luxcore's OBJECT_ID AOV in LDR (a png file), but the file looks different than VRay's png.
RuntimeError: Object ID image can be saved only in non HDR formats: 4
But in wiki (https://wiki.luxcorerender.org/LuxCore_ ... ka_AOVs.29) OBJECT_ID is marked as "HDR".
And with VRay, it is stored in a channel of uint type instead of float type and my program can successfully read from it (and values are correct).
Is this intended, or a bug? If it's not a bug, how is it stored? I'm asking because I tried to store luxcore's OBJECT_ID AOV in LDR (a png file), but the file looks different than VRay's png.
Re: Transitioning from VRay to LuxCoreRender
Also, if I defined an "ALBEDO" output, but don't have an "AVG_SHADING_NORMAL" output defined, ALBEDO won't be saved. If I defined both, both will be saved. It looks like a bug? (I'm not using OIDN in this case)
Re: Transitioning from VRay to LuxCoreRender
OBJECT_ID, MATERIAL_ID and SAMPLECOUNT AOVs are saved in RGB 8 bits (so only 24 bits are stored): https://github.com/LuxCoreRender/LuxCor ... t.cpp#L483happyboy wrote: ↑Thu Jul 18, 2019 5:11 am Another question: can we store OBJECT_ID AOV in an exr? I'm getting this error:
RuntimeError: Object ID image can be saved only in non HDR formats: 4
But in wiki (https://wiki.luxcorerender.org/LuxCore_ ... ka_AOVs.29) OBJECT_ID is marked as "HDR".
And with VRay, it is stored in a channel of uint type instead of float type and my program can successfully read from it (and values are correct).
Is this intended, or a bug? If it's not a bug, how is it stored? I'm asking because I tried to store luxcore's OBJECT_ID AOV in LDR (a png file), but the file looks different than VRay's png.
Re: Transitioning from VRay to LuxCoreRender
Thanks! The results (luxcore vs VRay) matched now.Dade wrote: ↑Thu Jul 18, 2019 8:12 am OBJECT_ID, MATERIAL_ID and SAMPLECOUNT AOVs are saved in RGB 8 bits (so only 24 bits are stored): https://github.com/LuxCoreRender/LuxCor ... t.cpp#L483
Re: Transitioning from VRay to LuxCoreRender
It was a bug and I should have fixed this problem.