OSL apha channel extraction fails with orbx export

Forums: OSL apha channel extraction fails with orbx export
Unreal® Engine Integrated Plugin

Moderator: ChrisHekman

OSL apha channel extraction fails with orbx export

Postby adamnerva » Sun May 24, 2020 8:47 pm

adamnerva Sun May 24, 2020 8:47 pm
treeUnreal.PNG
foliage rendering correctly in Unreal Octane live render


treeMatNodeGraph.PNG
Tree mat uses RGBA texure alpha channel for opacity mask


treeStandaloneAlpa.PNG
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.
adamnerva
Licensed Customer
Licensed Customer
 
Posts: 112
Joined: Mon Apr 27, 2015 9:01 pm

Re: OSL apha channel extraction fails with orbx export

Postby ChrisHekman » Mon May 25, 2020 11:54 am

ChrisHekman Mon May 25, 2020 11:54 am
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.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 971
Joined: Wed Jan 18, 2017 3:09 pm

Re: OSL apha channel extraction fails with orbx export

Postby adamnerva » Mon May 25, 2020 3:15 pm

adamnerva Mon May 25, 2020 3:15 pm
from the Octane menu on the main toolbar. "export orbx scene"
adamnerva
Licensed Customer
Licensed Customer
 
Posts: 112
Joined: Mon Apr 27, 2015 9:01 pm

Re: OSL apha channel extraction fails with orbx export

Postby ChrisHekman » Mon May 25, 2020 3:24 pm

ChrisHekman Mon May 25, 2020 3:24 pm
Thanks. I just checked and it seems to be happening in both exporters. Ill check it out.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 971
Joined: Wed Jan 18, 2017 3:09 pm

Re: OSL apha channel extraction fails with orbx export

Postby adamnerva » Mon May 25, 2020 5:53 pm

adamnerva Mon May 25, 2020 5:53 pm
Cool, thanks, Chris. It would be fantastic if you could get this fixed.
adamnerva
Licensed Customer
Licensed Customer
 
Posts: 112
Joined: Mon Apr 27, 2015 9:01 pm

Re: OSL apha channel extraction fails with orbx export

Postby ChrisHekman » Mon May 25, 2020 6:49 pm

ChrisHekman Mon May 25, 2020 6:49 pm
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.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 971
Joined: Wed Jan 18, 2017 3:09 pm

Re: OSL apha channel extraction fails with orbx export

Postby adamnerva » Mon May 25, 2020 8:34 pm

adamnerva Mon May 25, 2020 8:34 pm
Great. Thanks!
adamnerva
Licensed Customer
Licensed Customer
 
Posts: 112
Joined: Mon Apr 27, 2015 9:01 pm

Return to Unreal® Engine


Who is online

Users browsing this forum: No registered users and 3 guests

Sun Jun 16, 2024 4:03 am [ UTC ]