Jump to: Board index » General » Fusion

After effects equivalent to Premultiply on Import

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Andrew Whitney

  • Posts: 7
  • Joined: Wed Nov 12, 2014 2:04 pm

After effects equivalent to Premultiply on Import

PostWed Nov 12, 2014 2:15 pm

Hi -

Hi I have a Floating Point 16bit (premultiplied) .Exr rendered from 3ds Max - it is rendered onto a white white background.
In After Effects you Interpret the footage on import and set the Premultiplied - Matted With Color picker to White. This allows AE to interpret the Alpha correctly on any edges.

What is the Fusion Equivalent to this please ?

Also AE interprets the colour/gamma differently upon import than Fusion.

We save the Gamma from Max to 1.0 - as the image looks the same from Render to AE - is this correct for Fusion. Or what should the Gamma - Colour space import setting be ?
Last edited by Andrew Whitney on Thu Nov 13, 2014 10:08 am, edited 1 time in total.
Offline

kuba Socha

  • Posts: 6
  • Joined: Tue Nov 11, 2014 1:33 pm

Re: After effects equivalent to Premultiply on Imort

PostWed Nov 12, 2014 8:03 pm

Hi,
Double click on the loader (your exr sequence), go to the Tools/Import and click on Post-multiply by Alpha.
If you want to change gamma find gamma tool, connect it to loader and change to 2.2 value.
You can also use Gamut node, with the "Output Space" set to srGB. Gamut and gamma node does not give you exact the same result, but almost the same ;)

If you dont know where to search those tools just simply hit CTRL+SPACE and Add Tool panel will popup where you can type efffect/node/macro/plugins name.
Good luck
Offline
User avatar

michael vorberg

  • Posts: 943
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: After effects equivalent to Premultiply on Imort

PostWed Nov 12, 2014 9:07 pm

linear workflow (= gamma 1.0) is the prefered way to work in fusion (and it should be in all comp apps)

you have to enable a viewer LUT to see the linear files in sRGB correct way. for this click on the little LUT icon in the viewer, choose a LUT (you can go with the gamut one), enable it, choose edit and set it to output sRGB.

now your viewer will correct you linear files to sRGB for viewing, its only a display correction all you files stay untouched.

now you can do your comp magic to it and if you want to render them out and want to render in sRGB space you can set all on the saver node or just add a gamut node before the saver.

the premult with color needs a little node setup, like this:

Code: Select all
{
   Tools = ordered() {
      SubstractFGBG = ChannelBoolean {
         NameSet = true,
         Inputs = {
            Operation = Input { Value = 2, },
            Background = Input {
               SourceOp = "PipeRouter1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "MultiplyBGA",
               Source = "Output",
            },
            Comments = Input { Value = "Substract BG from FG", },
         },
         ViewInfo = OperatorInfo { Pos = { 813.815, 390.285, }, },
      },
      ChannelBooleans4 = ChannelBoolean {
         CtrlWZoom = false,
         Inputs = {
            ToRed = Input { Value = 4, },
            ToGreen = Input { Value = 4, },
            ToBlue = Input { Value = 4, },
            Background = Input {
               SourceOp = "SubstractFGBG",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "PipeRouter1",
               Source = "Output",
            },
            Comments = Input { Value = "bring back original alpha", },
         },
         ViewInfo = OperatorInfo { Pos = { 982.929, 397.106, }, },
      },
      MultiplyBGA = ChannelBoolean {
         NameSet = true,
         Inputs = {
            Operation = Input { Value = 6, },
            Background = Input {
               SourceOp = "Background1_1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "InvertAlpha",
               Source = "Output",
            },
            Comments = Input { Value = "multiply BG with inverted alpha, to matte out the FG", },
         },
         ViewInfo = OperatorInfo { Pos = { 625.969, 393.695, }, },
      },
      Note2 = Note {
         Inputs = {
            Comments = Input { Value = "here is the BG Image, look that is has the same dimensions like your footage", },
         },
         ViewInfo = StickyNoteInfo {
            Pos = { 351.13, 270.919, },
            Flags = {
               Expanded = true,
            },
            Size = { 196, 179.3, },
         },
      },
      InvertAlpha = ChannelBoolean {
         NameSet = true,
         Inputs = {
            Operation = Input { Value = 10, },
            ToRed = Input { Value = 3, },
            ToGreen = Input { Value = 3, },
            ToBlue = Input { Value = 3, },
            Background = Input {
               SourceOp = "PipeRouter1",
               Source = "Output",
            },
            Comments = Input { Value = "Invert the original alpha", },
         },
         ViewInfo = OperatorInfo { Pos = { 636.471, 307.297, }, },
      },
      Background1_1 = Background {
         Inputs = {
            Width = Input { Value = 2048, },
            Height = Input { Value = 1556, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
            TopLeftRed = Input { Value = 1, },
            TopLeftGreen = Input { Value = 1, },
            TopLeftBlue = Input { Value = 1, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1, },
                     [1] = { 1, 1, 1, 1, },
                  },
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 393.193, 397.106, }, },
      },
      PipeRouter1 = PipeRouter {
         ViewInfo = PipeRouterInfo { Pos = { 646.703, 231.13, }, },
      },
      Note1 = Note {
         Inputs = {
            Comments = Input { Value = "Image with BG goes here", },
         },
         ViewInfo = StickyNoteInfo {
            Pos = { 722.869, 201.573, },
            Size = { 196, 179.3, },
         },
      },
   },
}
Offline

Andrew Whitney

  • Posts: 7
  • Joined: Wed Nov 12, 2014 2:04 pm

Re: After effects equivalent to Premultiply on Import

PostThu Nov 13, 2014 5:32 pm

Thanks for the help - that's useful and have got the LUT and viewer displaying as expected.

Michael - you couldn't explain how to use that script could you please.
I've found the script section in the Node Loader and the Scripts at the top but do I have to create the script as a node and include it in the Flow somehow ?

Thanks again,
Andrew
Offline

Joël Gibbs

  • Posts: 97
  • Joined: Wed Nov 12, 2014 9:18 pm
  • Location: Nashville

Re: After effects equivalent to Premultiply on Import

PostThu Nov 13, 2014 7:03 pm

Just copy the code and paste it in Fusion. It should create some nodes for you.
Offline

Corrupt Frame, Inc.

  • Posts: 233
  • Joined: Wed Jul 31, 2013 6:38 pm

Re: After effects equivalent to Premultiply on Import

PostThu Nov 13, 2014 10:31 pm

Careful talking about After Effects, the moderators might lock this thread...
Offline

Andrew Whitney

  • Posts: 7
  • Joined: Wed Nov 12, 2014 2:04 pm

Re: After effects equivalent to Premultiply on Import

PostFri Nov 14, 2014 7:47 am

Careful talking about After Effects, the moderators might lock this thread...


Hopefully - there will be a few more AE users in here now :)

Just copy the code and paste it in Fusion. It should create some nodes for you.


Was going to say "Paste it where ?" but tried it at work and ---- Ta Da ! Thats clever isn't it !

Thanks.
Offline
User avatar

Marek Subocz

  • Posts: 66
  • Joined: Mon Nov 10, 2014 9:21 pm

Re: After effects equivalent to Premultiply on Import

PostFri Nov 14, 2014 9:36 pm

Yeah! that is the beauty!
You can copy/send Your flows/ selected tools as a txt/mail to Your collegue / co-worker. Paste and voila!

Also a tip:
since a .comp file is a txt file You can open it in Notepad and change all!
This is useful while debugging, or if some plugin is messing-up / crashing Fu - just open, search and destr... delete ;)

Happy Fusioning , cheers!
Offline

Corrupt Frame, Inc.

  • Posts: 233
  • Joined: Wed Jul 31, 2013 6:38 pm

Re: After effects equivalent to Premultiply on Import

PostFri Nov 14, 2014 9:48 pm

Andrew Whitney wrote:
Careful talking about After Effects, the moderators might lock this thread...


Hopefully - there will be a few more AE users in here now :)

Just copy the code and paste it in Fusion. It should create some nodes for you.


Was going to say "Paste it where ?" but tried it at work and ---- Ta Da ! Thats clever isn't it !

Thanks.


I'm an After Effects user. And I'm very interested in this and any other After Effects equivalent functions because an understanding of that will help me to start using Fusion. Too bad we're VERBOTEN from discussing differences and similarities between Fusion and other software by the iron fist of the Blackmagic MOD SQUAD...
Offline
User avatar

waltervolpatto

  • Posts: 10502
  • Joined: Thu Feb 07, 2013 5:07 pm
  • Location: 1146 North Las Palmas Ave. Hollywood, California 90038 USA

Re: After effects equivalent to Premultiply on Import

PostFri Nov 14, 2014 10:03 pm

Corrupt Frame, Inc. wrote:
Andrew Whitney wrote:
Careful talking about After Effects, the moderators might lock this thread...


Hopefully - there will be a few more AE users in here now :)

Just copy the code and paste it in Fusion. It should create some nodes for you.


Was going to say "Paste it where ?" but tried it at work and ---- Ta Da ! Thats clever isn't it !

Thanks.


I'm an After Effects user. And I'm very interested in this and any other After Effects equivalent functions because an understanding of that will help me to start using Fusion. Too bad we're VERBOTEN from discussing differences and similarities between Fusion and other software by the iron fist of the Blackmagic MOD SQUAD...


I think they only lock threads that [specifically] talk about other software, in my thread about how to handle CR2s there are several strategies mentioned and several software mentioned as well.

Understandinf how to do a function in Fusion that you're used to do somewhere else is not "bannable" in a way you are trying to migrate to their product..... :mrgreen:
W10-19043.1645- Supermicro MB C9X299-PGF - RAM 128GB CPU i9-10980XE 16c 4.3GHz (Oc) Water cooled
Decklink Studio 4K (12.3)
Resolve 18.5.1 / fusion studio 18
GPU 3090ti drivers 512.59 studio
Offline

Corrupt Frame, Inc.

  • Posts: 233
  • Joined: Wed Jul 31, 2013 6:38 pm

Re: After effects equivalent to Premultiply on Import

PostFri Nov 14, 2014 10:20 pm

waltervolpatto wrote:I think they only lock threads that [specifically] talk about other software, in my thread about how to handle CR2s there are several strategies mentioned and several software mentioned as well.

Understandinf how to do a function in Fusion that you're used to do somewhere else is not "bannable" in a way you are trying to migrate to their product..... :mrgreen:


I think the whole discussion about Nuke (sorry MODS for using the N-word) was for people who wanted to migrate to Fusion, or at least for Nuke users that were interested in using it in addition to Nuke. When learning new and unfamiliar software understanding how it compares to other software (familiar software) is extremely important to the learning process. But I think Blackmagic seems to be worried that they're being compared to the alpha male of the compositor tribe and that makes them feel threatened and inadequate. When what they should be doing is watching the discussion and learning from it. If they don't do that they will never really be able to evolve Fusion into a tool that can truly compete with Nuke (or even After Effects) on a mass scale.

I for one would love to see as many comparisons to After Effects as possible. That will help me to get up to speed with Fusion.
Offline
User avatar

waltervolpatto

  • Posts: 10502
  • Joined: Thu Feb 07, 2013 5:07 pm
  • Location: 1146 North Las Palmas Ave. Hollywood, California 90038 USA

Re: After effects equivalent to Premultiply on Import

PostFri Nov 14, 2014 10:30 pm

Corrupt Frame, Inc. wrote:
waltervolpatto wrote:I think they only lock threads that [specifically] talk about other software, in my thread about how to handle CR2s there are several strategies mentioned and several software mentioned as well.

Understandinf how to do a function in Fusion that you're used to do somewhere else is not "bannable" in a way you are trying to migrate to their product..... :mrgreen:


I think the whole discussion about Nuke (sorry MODS for using the N-word) was for people who wanted to migrate to Fusion, or at least for Nuke users that were interested in using it in addition to Nuke. When learning new and unfamiliar software understanding how it compares to other software (familiar software) is extremely important to the learning process. But I think Blackmagic seems to be worried that they're being compared to the alpha male of the compositor tribe and that makes them feel threatened and inadequate. When what they should be doing is watching the discussion and learning from it. If they don't do that they will never really be able to evolve Fusion into a tool that can truly compete with Nuke (or even After Effects) on a mass scale.

I for one would love to see as many comparisons to After Effects as possible. That will help me to get up to speed with Fusion.


Same here, we are on v7 of N*** and we are seriously considering switching for the task we do day to day to Fusion, so, a sane discussion about how they compare was welcome...

but then there was a DevBannerHammer cast on us.....

Terry Frechette... Please Unlock it!!!!
W10-19043.1645- Supermicro MB C9X299-PGF - RAM 128GB CPU i9-10980XE 16c 4.3GHz (Oc) Water cooled
Decklink Studio 4K (12.3)
Resolve 18.5.1 / fusion studio 18
GPU 3090ti drivers 512.59 studio
Offline

Tony Rivera

Blackmagic Design

  • Posts: 3456
  • Joined: Mon Aug 12, 2013 4:52 pm
  • Real Name: Tony Rivera

Re: After effects equivalent to Premultiply on Import

PostFri Nov 14, 2014 10:56 pm

waltervolpatto wrote:but then there was a DevBannerHammer cast on us.....

I'll play Thor and lift the hammer up. Just make sure you all play nice or I'll drop it. ;)
Support: http://www.blackmagicdesign.com/support
Info: http://www.blackmagicdesign.com/company

Follow us on Instagram:
@blackmagicnewsofficial
Offline
User avatar

waltervolpatto

  • Posts: 10502
  • Joined: Thu Feb 07, 2013 5:07 pm
  • Location: 1146 North Las Palmas Ave. Hollywood, California 90038 USA

Re: After effects equivalent to Premultiply on Import

PostFri Nov 14, 2014 10:57 pm

Tony Rivera wrote:
waltervolpatto wrote:but then there was a DevBannerHammer cast on us.....

I'll play Thor and lift the hammer up. Just make sure you all play nice or I'll drop it. ;)


Tony, that was a "tongue in cheek", there is no need for a hammer. Understand how Fusion compare to other software it is actually beneficial to BM.....
W10-19043.1645- Supermicro MB C9X299-PGF - RAM 128GB CPU i9-10980XE 16c 4.3GHz (Oc) Water cooled
Decklink Studio 4K (12.3)
Resolve 18.5.1 / fusion studio 18
GPU 3090ti drivers 512.59 studio
Offline

Tony Rivera

Blackmagic Design

  • Posts: 3456
  • Joined: Mon Aug 12, 2013 4:52 pm
  • Real Name: Tony Rivera

Re: After effects equivalent to Premultiply on Import

PostFri Nov 14, 2014 11:18 pm

Walter,

We understand where you and others are coming from and the reason for the removal of the lock. As long as things are kept civil, it will be allowed.
Support: http://www.blackmagicdesign.com/support
Info: http://www.blackmagicdesign.com/company

Follow us on Instagram:
@blackmagicnewsofficial

Return to Fusion

Who is online

Users browsing this forum: No registered users and 34 guests