Page 1 of 1

Trying to make the background of an OpenEXR clip transparent

PostPosted: Wed Apr 21, 2021 4:30 pm
by keenest
I've made the background of an OpenEXR clip transparent. In the preview it has a checker board pattern but in the edit tab the background is still there and when I have it above another clip it's transparent but the clip underneath is almost completely white (I'm guessing it gets the affect that the alpha channel is supposed to get).

Here are some pictures to better explain:

These are the nodes for the clip
FdAUlbv.png
clip in fusion
FdAUlbv.png (16.51 KiB) Viewed 476 times


How the clip looks in fusion:
eqlHDQH.png
nodes
eqlHDQH.png (74.77 KiB) Viewed 476 times


How the clip looks in the edit preview with a clip underneath it:
8Wr2yR3.png
clip in edit
8Wr2yR3.png (72.66 KiB) Viewed 476 times


I would add more pictures but unfortunately I could only attach 3 and I can't post any links.

Re: Trying to make the background of an OpenEXR clip transpa

PostPosted: Mon Apr 26, 2021 2:48 pm
by keenest
bump

Re: Trying to make the background of an OpenEXR clip transpa

PostPosted: Mon Apr 26, 2021 4:44 pm
by Hendrik Proosa
Looks like you haven’t premultiplied your RGB with your newly produced alpha values. AlphaMultiply node should do the trick.

Re: Trying to make the background of an OpenEXR clip transpa

PostPosted: Mon Apr 26, 2021 4:48 pm
by xunile
Can you post screenshots of your settings for your ChannelBooleans and BrightnessContrast nodes?

Re: Trying to make the background of an OpenEXR clip transpa

PostPosted: Mon Apr 26, 2021 5:38 pm
by keenest
Hendrik Proosa wrote:Looks like you haven’t premultiplied your RGB with your newly produced alpha values. AlphaMultiply node should do the trick.


I added an AlphaMultiply node before the output and now it looks like this:
I'm quite new to fusion so I'm not sure what I'm doing wrong.
unknown.png
unknown.png (300.54 KiB) Viewed 409 times

Re: Trying to make the background of an OpenEXR clip transpa

PostPosted: Tue Apr 27, 2021 4:27 am
by Hendrik Proosa
Looks better, but what I’d check next is values in alpha channel outside 0.0-1.0 range. You must clamp alpha to this range before AlphaMultiply. Currently it seems that premulting changes areas where alpha should be solid. Reason for out of range values probably lies in your brightnesscontrast node.

Re: Trying to make the background of an OpenEXR clip transpa

PostPosted: Tue Apr 27, 2021 9:44 am
by keenest
Hendrik Proosa wrote:Looks better, but what I’d check next is values in alpha channel outside 0.0-1.0 range. You must clamp alpha to this range before AlphaMultiply. Currently it seems that premulting changes areas where alpha should be solid. Reason for out of range values probably lies in your brightnesscontrast node.

Thanks a lot, it works now!