Media Textures With Alpha - render through sequencer

Forums: Media Textures With Alpha - render through sequencer
Unreal® Engine Integrated Plugin

Moderator: ChrisHekman

Media Textures With Alpha - render through sequencer

Postby joshuamkerr » Mon Nov 08, 2021 10:13 am

joshuamkerr Mon Nov 08, 2021 10:13 am
I'm right at the end of a shot I've been working on. I brought a media texture into unreal, a pre-keyed actor so it's an rgb + alpha texture to be played in the environment.
I hit a hurdle earlier when I realised that the octane didnt recognise the alpha channel from the material and just rendered it black. But I found a way around this by creating a second media texture just with the alpha chanel represented at white on black, then plugged it into the opacity pin. This worked to remove the black and now I have two textures playing in sequencer.

But now I have hit another wall, when you play back in sequencer it takes time for both textures to catch up to each other and I get drift between the RGB and the alpha map when rendered through octane. This shouldn't happen because both are the same frame rate and length, however it seems that frames get submitted to octane for render before unreal can catch up.

I was wondering 3 things.

1) Is it possible to make the alpha map work with one material and eliminate the need for two textures. I have not seen a way to use media textures in octane materials.
2) Is there a way to delay the render from octane until unreal has caught up or updated correctly?
3) Am I missing something very basic that would solve the problem I have not thought of?

I really hope theres a solution to this. It would be such an amazing thing to be able to pull off.

Here is the export so you can see the result
[youtube]https://youtu.be/lzw45rStwHQ[/youtube]
joshuamkerr
 
Posts: 60
Joined: Thu Apr 15, 2021 7:25 am

Re: Media Textures With Alpha - render through sequencer

Postby ChrisHekman » Mon Nov 08, 2021 11:36 am

ChrisHekman Mon Nov 08, 2021 11:36 am
The next build will have alpha for media textures. I hope to publish the new build this week.

But now I have hit another wall, when you play back in sequencer it takes time for both textures to catch up to each other and I get drift between the RGB and the alpha map when rendered through octane. This shouldn't happen because both are the same frame rate and length, however it seems that frames get submitted to octane for render before unreal can catch up.


From what you describe, this should not be happening. Ill check if I can recreate this issue.


Here is the export so you can see the result
[youtube]https://youtu.be/lzw45rStwHQ[/youtube]


Which export are you using? Overlay?
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Re: Media Textures With Alpha - render through sequencer

Postby joshuamkerr » Mon Nov 08, 2021 12:09 pm

joshuamkerr Mon Nov 08, 2021 12:09 pm
Hi Chris,

Firstly, that's great news! It's a major feature for people looking to do in engine compositing. I look forward to the next build.

I'm not sure what you mean by overlay, could you elaborate? Where would I look to check this?
joshuamkerr
 
Posts: 60
Joined: Thu Apr 15, 2021 7:25 am

Re: Media Textures With Alpha - render through sequencer

Postby ChrisHekman » Mon Nov 08, 2021 5:08 pm

ChrisHekman Mon Nov 08, 2021 5:08 pm
joshuamkerr wrote:Hi Chris,

Firstly, that's great news! It's a major feature for people looking to do in engine compositing. I look forward to the next build.

I'm not sure what you mean by overlay, could you elaborate? Where would I look to check this?


Sorry, I ment "Octane Integrated", in the code I call it "overlay mode"
This mode which will copy the octane render results into unreal. Sadly this mode can sometimes cause mismatches because of how unreal provides data to the plugin.
Basically "half-frame" behind issues.

The other modes are:
Octane Export (ORBX)
- Exports to an animated orbx file, that can then be rendered with ORC/RNDR or with standalone octane
Octane Render (Image)
- Exports the octane render results directly to images
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Re: Media Textures With Alpha - render through sequencer

Postby joshuamkerr » Mon Nov 08, 2021 5:16 pm

joshuamkerr Mon Nov 08, 2021 5:16 pm
Aha! I see what you mean. I'm using the Octane Render (Image) export setting to create an exr sequence.

I'd love to know if you can replicate the issue. I have quite a simple setup as described.

1 material with 2x media textures. 1 is rgb colour and the other is rgb alpha (white on black). No other nodes
Both are set to play back in sequencer simultaneously
Cine camera is place in front of the a plane with the material applied
Render Octane exr sequence.
joshuamkerr
 
Posts: 60
Joined: Thu Apr 15, 2021 7:25 am

Re: Media Textures With Alpha - render through sequencer

Postby joshuamkerr » Thu Nov 11, 2021 7:29 am

joshuamkerr Thu Nov 11, 2021 7:29 am
Sorry Chris, I forgot to ask, where do you publish the new builds for Unreal?

I'd like to keep my eyes peeled for the next version with alpha support.
joshuamkerr
 
Posts: 60
Joined: Thu Apr 15, 2021 7:25 am

Re: Media Textures With Alpha - render through sequencer

Postby ChrisHekman » Fri Nov 12, 2021 6:19 pm

ChrisHekman Fri Nov 12, 2021 6:19 pm
joshuamkerr wrote:Sorry Chris, I forgot to ask, where do you publish the new builds for Unreal?

I'd like to keep my eyes peeled for the next version with alpha support.


I publish them here on the forum: viewforum.php?f=132
And via the download page on otoy.com: https://render.otoy.com/account/download_archive.php
*otoy.com might take a while longer though

I also found the underlying issue with the mismatch between octane and unreal when it comes to mediatextures, but will need to do more testing before I can publish the next build.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Re: Media Textures With Alpha - render through sequencer

Postby ChrisHekman » Thu Nov 18, 2021 2:10 pm

ChrisHekman Thu Nov 18, 2021 2:10 pm
joshuamkerr wrote:Hi Chris,

Firstly, that's great news! It's a major feature for people looking to do in engine compositing. I look forward to the next build.

I'm not sure what you mean by overlay, could you elaborate? Where would I look to check this?



The build is out here: viewtopic.php?f=132&t=78743
Let me know if it works for you.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Re: Media Textures With Alpha - render through sequencer

Postby joshuamkerr » Sun Nov 21, 2021 9:38 am

joshuamkerr Sun Nov 21, 2021 9:38 am
Hi Chris,

Glad you have a new update out for media textures and sequencer. I'm working in 4.26, is there an update to this one?
joshuamkerr
 
Posts: 60
Joined: Thu Apr 15, 2021 7:25 am

Re: Media Textures With Alpha - render through sequencer

Postby ChrisHekman » Mon Nov 22, 2021 12:54 pm

ChrisHekman Mon Nov 22, 2021 12:54 pm
joshuamkerr wrote:Hi Chris,

Glad you have a new update out for media textures and sequencer. I'm working in 4.26, is there an update to this one?


Ive added a 4.26 build.

However, Im going to deprecate 4.26 support for next build due to Niagara differences.
Is there a specific reason you are not upgrading to 4.27?
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm
Next

Return to Unreal® Engine


Who is online

Users browsing this forum: No registered users and 4 guests

Fri May 10, 2024 7:42 pm [ UTC ]