Jump to: Board index » General » Fusion

Dimpled Gradient

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

rcdmartins

  • Posts: 7
  • Joined: Wed May 09, 2018 1:38 pm
  • Real Name: Reinaldo martins

Dimpled Gradient

PostWed Dec 18, 2019 1:01 pm

Hi,

Is it possible to create a dimpled gradient effect like the one created in Gimp? (attached image).

Another thing: I see a lot of scripted answers, but I don't know where these scripts are placed in the application.

Sorry for the dummy level.
Attachments
Gradient Gimp.png
Gradient Gimp.png (315.3 KiB) Viewed 1605 times
Offline
User avatar

GonshiRamushiyo

  • Posts: 42
  • Joined: Sun Feb 03, 2019 12:49 pm
  • Location: 日本
  • Real Name: 吉村真悟

Re: Dimpled Gradient

PostWed Dec 18, 2019 6:52 pm

Hi, rcdmartins-san

I'm still learning Fusion but, how is the following way?

凹みグラデ.jpg
凹みグラデ.jpg (349.79 KiB) Viewed 1586 times

Code: Select all
{
   Tools = ordered() {
      Bitmap1 = BitmapMask {
         Inputs = {
            Invert = Input { Value = 1, },
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Image = Input {
               SourceOp = "BrightnessContrast1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 770, 82.5 } },
      },
      BrightnessContrast1 = BrightnessContrast {
         NameSet = true,
         Inputs = {
            Contrast = Input { Value = 1, },
            Brightness = Input { Value = 1.524, },
            PreDividePostMultiply = Input { Value = 1, },
            Input = Input {
               SourceOp = "Blur1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 660, 82.5 } },
      },
      Blur1 = Blur {
         NameSet = true,
         Inputs = {
            XBlurSize = Input { Value = 0.71, },
            Input = Input {
               SourceOp = "ErodeDilate1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 550, 82.5 } },
      },
      BrightnessContrast2 = BrightnessContrast {
         Inputs = {
            Gain = Input { Value = 0.353, },
            Brightness = Input { Value = -0.151, },
            PreDividePostMultiply = Input { Value = 1, },
            Input = Input {
               SourceOp = "Text1",
               Source = "Output",
            },
            EffectMask = Input {
               SourceOp = "Bitmap1",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 770, 181.5 } },
      },
      ErodeDilate1 = ErodeDilate {
         NameSet = true,
         Inputs = {
            Filter = Input { Value = 1, },
            XAmount = Input { Value = -0.00914, },
            Input = Input {
               SourceOp = "Text1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 440, 82.5 } },
      },
      Text1 = TextPlus {
         CtrlWZoom = false,
         Inputs = {
            GlobalOut = Input { Value = 240, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Size = Input { Value = 0.2437, },
            Font = Input { Value = "Noto Sans CJK JP", },
            StyledText = Input {
               SourceOp = "CharacterLevelStyling1",
               Source = "StyledText",
            },
            Style = Input { Value = "Black", },
            InternationalFontControls = Input { Value = 1, },
            Subset = Input { Value = 13, },
            ManualFontKerningPlacement = Input {
               Value = StyledText {
                  Array = {
                  },
                  Value = ""
               },
            },
            Select = Input { Value = 1, },
            Name1 = Input { Value = "Solid fill", },
            Name2 = Input { Value = "Outline", },
         },
         ViewInfo = OperatorInfo { Pos = { 330, 181.5 } },
      },
      CharacterLevelStyling1 = StyledTextCLS {
         NameSet = true,
         Inputs = {
            Font = Input { Value = "Open Sans", },
            Style = Input { Value = "Bold", },
            Text = Input {
               Value = StyledText {
                  Array = {
                  },
                  Value = "凹み"
               },
            },
            RightClickHereToAnimateCharacterLevelStyling = Input {
               Value = StyledText {
                  Array = {
                  },
                  Value = ""
               },
            },
         },
      },
      Merge1 = Merge {
         NameSet = true,
         Inputs = {
            Background = Input {
               SourceOp = "BrightnessContrast2",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "Instance_Text1",
               Source = "Output",
            },
            PerformDepthMerge = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 770, 291.689 } },
      },
      Instance_Text1 = TextPlus {
         SourceOp = "Text1",
         Inputs = {
            ["Gamut.ColorSpaceNest"] = Input { },
            ["Gamut.GammaSpaceNest"] = Input { },
            LayoutRotation = Input { },
            InternationalFontControls = Input { Value = 1, },
            AdvancedFontControls = Input { },
            Alignment = Input { },
            LineRotation = Input { },
            WordRotation = Input { },
            CharacterRotation = Input { },
            SelectElement = Input { Value = 1, },
            Enabled1 = Input { Value = 0, },
            Options1 = Input { },
            Color1 = Input { },
            Softness1 = Input { },
            Transform1 = Input { },
            Enabled2 = Input { Value = 1, },
            StartEndRenderScripts = Input { },
            Comments = Input { Value = "「Text1」に追従する原稿の、輪郭線のみを描画。", },
            Opacity2 = Input { },
            Options2 = Input { },
            PriorityBack2 = Input { },
            Overlap2 = Input { },
            ElementShape2 = Input { },
            Thickness2 = Input { Value = 0.00705, },
            AdaptThicknessToPerspective2 = Input { },
            OutsideOnly2 = Input { },
            JoinStyle2 = Input { },
            LineStyle2 = Input { },
            Level2 = Input { },
            ExtendHorizontal2 = Input { },
            ExtendVertical2 = Input { },
            Round2 = Input { },
            Color2 = Input { },
            Type2 = Input { },
            Red2 = Input { Value = 0, },
            Green2 = Input { },
            Blue2 = Input { },
            Alpha2 = Input { },
            ImageSource2 = Input { },
            ColorImage2 = Input { },
            ColorFile2 = Input { },
            ColorBrush2 = Input { },
            ShadingGradient2 = Input { },
            ShadingMapping2 = Input { },
            ShadingMappingAngle2 = Input { },
            ShadingMappingSize2 = Input { },
            ShadingMappingAspect2 = Input { },
            ShadingMappingLevel2 = Input { },
            Softness2 = Input { },
            SoftnessX2 = Input { },
            SoftnessY2 = Input { },
            SoftnessOnFillColorToo2 = Input { },
            SoftnessGlow2 = Input { },
            SoftnessBlend2 = Input { },
            Transform2 = Input { },
            Offset2 = Input { },
            OffsetZ2 = Input { },
            Pivot2 = Input { },
            PivotZ2 = Input { },
            AngleX2 = Input { },
            AngleY2 = Input { },
            AngleZ2 = Input { },
            ShearX2 = Input { },
            ShearY2 = Input { },
            SizeX2 = Input { },
            SizeY2 = Input { },
            EffectMask = Input { }
         },
         ViewInfo = OperatorInfo { Pos = { 331.912, 291.689 } },
      }
   }
}


And, is the above “scripted answers” you say?
If so, you can reproduce my node flow by copying all the code with Ctrl+C and pasting them into the Fusion's Flow panel ("Node" in v16) with Ctrl+V.
Offline

rcdmartins

  • Posts: 7
  • Joined: Wed May 09, 2018 1:38 pm
  • Real Name: Reinaldo martins

Re: Dimpled Gradient

PostThu Dec 19, 2019 9:51 am

Thank you.

I will do some experiments here.

Sincerely
Offline

rcdmartins

  • Posts: 7
  • Joined: Wed May 09, 2018 1:38 pm
  • Real Name: Reinaldo martins

Re: Dimpled Gradient [Resolved]

PostSun Dec 22, 2019 2:18 pm

Hi

I got able to do what I intended.

Thanks a lot
Attachments
Epic.png
Epic.png (270.86 KiB) Viewed 1170 times

Return to Fusion

Who is online

Users browsing this forum: Tim Hitchen and 33 guests