Dear all,
I have an issue. I would like to bake out VrayBumpNormalMap to texture and I would like to save it with RGBA in 32bit OpenEXR. When doing it manually, I can adjust the alpha channel, but if I do it per script, the EXR always saves without alpha enabled.
This is my code for setting the opacity to be transparent in areas where the uv-shells are not existing:
fopenexr.setLayerOutputType 0 0
fopenexr.setDefaults()
local bm = bitmap 512 512 hdr: true
bm.filename = pathConfig.appendPath thePath "dummy.exr"
save bm
close bm​
forceReloadBitmapFile bm
Could anybody help?
Thanks
I have an issue. I would like to bake out VrayBumpNormalMap to texture and I would like to save it with RGBA in 32bit OpenEXR. When doing it manually, I can adjust the alpha channel, but if I do it per script, the EXR always saves without alpha enabled.
This is my code for setting the opacity to be transparent in areas where the uv-shells are not existing:
fopenexr.setLayerOutputType 0 0
fopenexr.setDefaults()
local bm = bitmap 512 512 hdr: true
bm.filename = pathConfig.appendPath thePath "dummy.exr"
save bm
close bm​
forceReloadBitmapFile bm
Could anybody help?
Thanks
Comment