Jump to: Board index » General » Fusion

Transparent BackGround Render?

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

David Galindo

  • Posts: 14
  • Joined: Mon Dec 26, 2016 4:35 pm

Transparent BackGround Render?

PostTue Apr 04, 2017 10:04 pm

Hi everyone,

I am learning Fusion but still a novice.

I am trying to make a 3D Text with a transparent background. I render into QT ProRes 422 and it automatically makes the background black but not transparent.

And the 3D text comes out all white and ignores directionalLight.

I am trying to import the ProRes into Davinci Resolve as an overlay

Any tips? Below the comp

Thanks

Code: Select all

{
   Tools = ordered() {
      Merge3DMiddle_RightAngle_1 = Merge3D {
         NameSet = true,
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = -0.9014085, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 0.0938968, },
            ["Transform3DOp.Translate.Z"] = Input { Value = -0.8450704, },
            ["Transform3DOp.Rotate.X"] = Input { Value = -5.0704225, },
            ["Transform3DOp.Rotate.Y"] = Input { Value = 23.6619718, },
            ["Transform3DOp.Rotate.Z"] = Input { Value = 1.6901408, },
            ["Transform3DOp.Scale.X"] = Input { Value = 0.838041860465116, },
            PassThroughLights = Input { Value = 1, },
            SceneInput2 = Input {
               SourceOp = "Text3D2_2_2_1",
               Source = "Output",
            },
            SceneInput3 = Input {
               SourceOp = "DirectionalLight1_1",
               Source = "Output",
            },
            SceneInput4 = Input {
               SourceOp = "DirectionalLight1_1_1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 563.665, 232.157 } },
      },
      Saver1 = Saver {
         CtrlWZoom = false,
         Inputs = {
            ProcessWhenBlendIs00 = Input { Value = 0, },
            Clip = Input {
               Value = Clip {
                  Filename = "Transparent3.mov",
                  FormatID = "QuickTimeMovies",
                  Length = 0,
                  Saving = true,
                  TrimIn = 0,
                  ExtendFirst = 0,
                  ExtendLast = 0,
                  Loop = 1,
                  AspectMode = 0,
                  Depth = 0,
                  GlobalStart = -2000000000,
                  GlobalEnd = 0
               },
            },
            OutputFormat = Input { Value = FuID { "QuickTimeMovies" }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            SaveAlphaToColor = Input { Value = 1, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Input = Input {
               SourceOp = "Renderer3D3",
               Source = "Output",
            },
            ["QuickTimeMovies.Compression"] = Input { Value = FuID { "Apple ProRes 422_apcn" }, },
            ["QuickTimeMovies.Advanced"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 931.85, 232.462 } },
      },
      Renderer3D3 = Renderer3D {
         CurrentSettings = 2,
         CustomData = {
            Settings = {
               [1] = {
                  Tools = ordered() {
                     Renderer3D3 = Renderer3D {
                        Inputs = {
                           ["RendererSoftware.ShadowsEnabled"] = Input { Value = 1 },
                           Reporting = Input { Value = 1 },
                           ["RendererSoftware.Channels.ObjectID"] = Input { Value = 1 },
                           SceneInput = Input {
                              SourceOp = "Merge3DMiddle_RightAngle_1",
                              Source = "Output"
                           },
                           Width = Input { Value = 4030 },
                           ["RendererSoftware.Channels.BgColor"] = Input { Value = 1 },
                           ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" } },
                           ["RendererSoftware.Channels.Nest"] = Input { Value = 1 },
                           ["RendererSoftware.Channels.MaterialID"] = Input { Value = 1 },
                           GlobalOut = Input { Value = 50 },
                           Depth = Input { Value = 4 },
                           ["RendererSoftware.LightingEnabled"] = Input { Value = 1 },
                           Height = Input { Value = 2274 }
                        },
                        CtrlWZoom = false,
                        ViewInfo = OperatorInfo { Pos = { 864.657, 152.766 } },
                        CustomData = {
                        }
                     }
                  }
               },
               [2] = {
                  Tools = ordered() {
                     Renderer3D3 = Renderer3D {
                        Inputs = {
                           ["RendererSoftware.ShadowsEnabled"] = Input { Value = 1 },
                           Reporting = Input { Value = 1 },
                           ["RendererSoftware.Channels.ObjectID"] = Input { Value = 1 },
                           SceneInput = Input {
                              SourceOp = "Merge3DMiddle_RightAngle_1",
                              Source = "Output"
                           },
                           Width = Input { Value = 3840 },
                           ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" } },
                           ["RendererSoftware.Channels.Nest"] = Input { Value = 1 },
                           ["RendererSoftware.Channels.BgColor"] = Input { Value = 1 },
                           GlobalOut = Input { Value = 50 },
                           ["RendererSoftware.Channels.MaterialID"] = Input { Value = 1 },
                           ["RendererSoftware.LightingEnabled"] = Input { Value = 1 },
                           Height = Input { Value = 2160 }
                        },
                        Name = "Renderer3D3",
                        CtrlWZoom = false,
                        ViewInfo = OperatorInfo { Pos = { 864.657, 152.766 } },
                        CustomData = {
                        }
                     }
                  }
               },
               [3] = {
                  Tools = ordered() {
                     Renderer3D3 = Renderer3D {
                        Inputs = {
                           ["RendererSoftware.ShadowsEnabled"] = Input { Value = 1 },
                           Reporting = Input { Value = 1 },
                           ["RendererSoftware.Channels.ObjectID"] = Input { Value = 1 },
                           SceneInput = Input {
                              SourceOp = "Merge3DMiddle_RightAngle_1",
                              Source = "Output"
                           },
                           Width = Input { Value = 4030 },
                           ["RendererSoftware.Channels.BgColor"] = Input { Value = 1 },
                           ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" } },
                           ["RendererSoftware.Channels.Nest"] = Input { Value = 1 },
                           ["RendererSoftware.Channels.MaterialID"] = Input { Value = 1 },
                           GlobalOut = Input { Value = 100 },
                           Depth = Input { Value = 4 },
                           ["RendererSoftware.LightingEnabled"] = Input { Value = 1 },
                           Height = Input { Value = 2274 }
                        },
                        CtrlWZoom = false,
                        ViewInfo = OperatorInfo { Pos = { 802.771, -128.885 } },
                        CustomData = {
                        }
                     }
                  }
               },
            }
         },
         Inputs = {
            ProcessRed = Input { Value = 0, },
            ProcessGreen = Input { Value = 0, },
            ProcessBlue = Input { Value = 0, },
            ProcessAlpha = Input { Value = 0, },
            Width = Input { Value = 3840, },
            Height = Input { Value = 2160, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            SceneInput = Input {
               SourceOp = "Merge3DMiddle_RightAngle_1",
               Source = "Output",
            },
            Reporting = Input { Value = 1, },
            ["RendererSoftware.Channels.Nest"] = Input { Value = 1, },
            ["RendererSoftware.Channels.BgColor"] = Input { Value = 1, },
            ["RendererSoftware.Channels.ObjectID"] = Input { Value = 1, },
            ["RendererSoftware.Channels.MaterialID"] = Input { Value = 1, },
            ["RendererSoftware.LightingEnabled"] = Input { Value = 1, },
            ["RendererSoftware.ShadowsEnabled"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 709.507, 227.228 } },
      },
      Text3D2_2_2_1 = Text3D {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = -0.0187793, },
            ["Transform3DOp.Translate.Y"] = Input { Value = -0.056338, },
            ["Transform3DOp.Rotate.X"] = Input { Value = 1.6901409, },
            ["Transform3DOp.Rotate.Y"] = Input { Value = 13.5211268, },
            ["Transform3DOp.PivotNest"] = Input { Value = 1, },
            ["Transform3DOp.Scale.X"] = Input { Value = 0.768288372093023, },
            LayoutType = Input { Value = 1, },
            LayoutRotation = Input { Value = 1, },
            Size = Input { Value = 0.851063829787234, },
            Font = Input { Value = "Arial", },
            StyledText = Input { Value = "Blackmagic", },
            Style = Input { Value = "Regular", },
            Extrusion = Input { Value = 1, },
            ExtrusionProfile = Input {
               SourceOp = "Text3D2_2_2_1ExtrusionProfile",
               Source = "Value",
            },
            ExtrusionDepth = Input { Value = 0.0995348837209302, },
            ExtrusionSubdivisions = Input { Value = 5, },
            BevelDepth = Input { Value = 0.0130232558139535, },
            BevelWidth = Input { Value = 0.0153488372093023, },
            SmoothingAngle = Input { Value = 37.6744186046512, },
            BackBevel = Input { Value = 0, },
            InternationalFontControls = Input { Value = 1, },
            AdvancedFontControls = Input { Value = 1, },
            ManualFontKerningPlacement = Input {
               Value = StyledText {
                  Array = {
                  },
                  Value = ""
               },
            },
            Alignment = Input { Value = 1, },
            HorizontalJustification = Input { Value = 1, },
            VerticalJustification = Input { Value = 1, },
            CharacterSpacing = Input { Value = 0.936170212765957, },
            CharacterSizeY = Input { Value = 0.829787234042553, },
            UseOneMaterial = Input { Value = 0, },
            Red1 = Input { Value = 0.6, },
            Green1 = Input { Value = 0.4, },
            Blue1 = Input { Value = 0.196078431372549, },
            SpecularRed = Input { Value = 0.88, },
            SpecularExponent = Input { Value = 3.45581395348837, },
            ColorBrush1 = Input {
               Value = 47,
               UserString1 = "star_8sides",
            },
            ShadingGradient1 = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
            ShadingMappingLevel1 = Input { Value = 0, },
            BevelMaterial = Input { Value = 0, },
            RedBevel = Input { Value = 0.757326233798127, },
            GreenBevel = Input { Value = 0.8, },
            BlueBevel = Input { Value = 0.735117199676819, },
            SpecularRedBevel = Input { Value = 0.84, },
            SpecularGreenBevel = Input { Value = 0.588166408375514, },
            SpecularBlueBevel = Input { Value = 0.35373422904753, },
            SpecularExponentBevel = Input { Value = 12.1627906976744, },
            ImageSourceBevel = Input { Value = 2, },
            Transform1 = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 280.85, 173.462 } },
      },
      Text3D2_2_2_1ExtrusionProfile = LUTBezier {
         KeyColorSplines = {
            [0] = {
               [0] = { 0, RH = { 0.0666666666666667, 0.333333333333333 }, Flags = { Linear = true } },
               [0.2] = { 1, LH = { 0.133333333333333, 0.666666666666667 }, RH = { 0.4, 1 }, Flags = { Linear = true } },
               [0.8] = { 1, LH = { 0.6, 1 }, RH = { 0.866666666666667, 0.666666666666667 }, Flags = { Linear = true } },
               [1] = { 0, LH = { 0.933333333333333, 0.333333333333333 }, Flags = { Linear = true } }
            }
         },
         SplineColor = { Red = 192, Green = 128, Blue = 64 },
         NameSet = true,
      },
      DirectionalLight1_1 = LightDirectional {
         Inputs = {
            ["Transform3DOp.Translate.Y"] = Input { Value = 0.375509888874058, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 0.679125024960912, },
            ["Transform3DOp.Rotate.X"] = Input { Value = -53.4916073880158, },
         },
         ViewInfo = OperatorInfo { Pos = { 496, 70 } },
      },
      DirectionalLight1_1_1 = LightDirectional {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = 0.169911472850893, },
            ["Transform3DOp.Translate.Y"] = Input { Value = -0.672446238227943, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 2.11653605120953, },
            ["Transform3DOp.Rotate.X"] = Input { Value = -116.845987545326, },
         },
         ViewInfo = OperatorInfo { Pos = { 607.736, 67.228 } },
      }
   }
}

R3F x58 Board | Xeon 5675 | AMD XFX 390x | 48GB RAM
Offline
User avatar

Bryan Ray

  • Posts: 2485
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: Transparent BackGround Render?

PostTue Apr 04, 2017 10:19 pm

Uncheck "Save Alpha to Color." That takes the Alpha channel and shuffles it into all three color channels.

Does ProRes 422 even support an alpha? I thought it didn't.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

Joël Gibbs

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

Re: Transparent BackGround Render?

PostWed Apr 05, 2017 3:28 am

As far as I know, proress422 doesn't support an alpha channel. You'll have to bump it up to 4444.
Offline

Sam Steti

  • Posts: 2498
  • Joined: Tue Jun 17, 2014 7:29 am
  • Location: France

Re: Transparent BackGround Render?

PostWed Apr 05, 2017 7:35 am

Hi there,

First, you must choose a codec with alpha channel support, which PR 422 is not, but PR 4444 is for sure...

To clarify, you can sometimes check in Resolve you have "A" in the name of the codec, like xxxxxARGB etc..., A meaning alpha. To make it short, you have some uncompressed codecs and a couple more, but ProRes 4444 will be the best for you.

To make it a bit more difficult for you (you're unlucky as a noobie, but luckily you find help here ;) ), it happens that a strange behaviour in Resolve may prevent you to see the alpha at once : you'll have to tweak "clip attributes" of this very clip.

Now, as a better advice, if you plan to go to Resolve, I'd suggest you also start in Resolve, and go to Fusion by the "Fusion Connect" way. You'll be able to see changes in Resolve each time you render these changes in Fusion.
BUT :D obviously a tiny bug - connected to the behaviour I wrote before - can bother you. Easily fixable but you should know the re-import trick Check out yourself on this video about a super basic example.
*MacMini M1 16 Go - Ext nvme SSDs on TB3 - 14 To HD in 2 x 4 disks USB3 towers
*Legacy MacPro 8core Xeons, 32 Go ram, 2 x gtx 980 ti, 3SSDs including RAID
*Resolve Studio everywhere, Fusion Studio too
*https://www.buymeacoffee.com/videorhin
Offline

David Galindo

  • Posts: 14
  • Joined: Mon Dec 26, 2016 4:35 pm

Re: Transparent BackGround Render?

PostWed Apr 05, 2017 7:56 pm

Thx everyone, I unchecked the alpha color box and render to 4444, and the black background is now transparent. :D

@ Sam
I will try the workflow. I only have Davinci Studio but not Fusion Studio.
R3F x58 Board | Xeon 5675 | AMD XFX 390x | 48GB RAM

Return to Fusion

Who is online

Users browsing this forum: Hawkeye68 and 31 guests