Page 1 of 1
OSL apha channel extraction fails with orbx export
Posted: Sun May 24, 2020 8:47 pm
by adamnerva

- foliage rendering correctly in Unreal Octane live render

- Tree mat uses RGBA texure alpha channel for opacity mask

- Auto generated opacity masks are blank in Octane Standalone
It looks like the behind the scenes the magic that rips the alpha channel out of RGBA textures and generates a new texture map is failing during orbx export. Also, it looks like every single normal map ends up creating a second image texture, which, I assume is eating a lot of VRAM up in large scenes. Am I wrong? Is the normal map alpha really being used by Octane? As far as I can tell, the compress without alpha setting in the texture compression options is ignored by the octane OSL translator, and an additional texture is generated regardless.
Maybe there is an opportunity here to both fix a material rendering glitch and also greatly reduce the scene footprint by not generating unnecessary additional textures.
Re: OSL apha channel extraction fails with orbx export
Posted: Mon May 25, 2020 11:54 am
by ChrisHekman
Which ORBX exporter did you use? The sequencer orbx exporter or the static orbx exporter?
Ill check if I can stop unused alpha textures being generated.
Re: OSL apha channel extraction fails with orbx export
Posted: Mon May 25, 2020 3:15 pm
by adamnerva
from the Octane menu on the main toolbar. "export orbx scene"
Re: OSL apha channel extraction fails with orbx export
Posted: Mon May 25, 2020 3:24 pm
by ChrisHekman
Thanks. I just checked and it seems to be happening in both exporters. Ill check it out.
Re: OSL apha channel extraction fails with orbx export
Posted: Mon May 25, 2020 5:53 pm
by adamnerva
Cool, thanks, Chris. It would be fantastic if you could get this fixed.
Re: OSL apha channel extraction fails with orbx export
Posted: Mon May 25, 2020 6:49 pm
by ChrisHekman
adamnerva wrote:Cool, thanks, Chris. It would be fantastic if you could get this fixed.
I fixed the export issue, it should be part of the next build.
The fix shoud also remove some empty alpha channels, reducing vram memory footprint. Not all cases are reduced though.
Re: OSL apha channel extraction fails with orbx export
Posted: Mon May 25, 2020 8:34 pm
by adamnerva
Great. Thanks!