Jump to: Board index » General » Fusion

displacement with Fast Noise and no smooth resize - how?

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

Eugene Afanasiev

  • Posts: 600
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

displacement with Fast Noise and no smooth resize - how?

PostSun Sep 10, 2017 9:23 pm

Guys, I've cracked my head with this, as fast as I switch to HiQ mode my pixelated distortion disappears and becomes analogous - like.
HiQ turns on smooth resize.
And that's not I need in this case.
So how to make the distortion right?
Code: Select all
{
   Tools = ordered() {
      Displace1 = Displace {
         Inputs = {
            Type = Input { Value = 1, },
            XRefraction = Input { Value = -0.0709, },
            RefractionStrength = Input { Value = 0.94, },
            Foreground = Input {
               SourceOp = "Merge3",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 652, 239 } },
      },
      Merge3 = Merge {
         Inputs = {
            Background = Input {
               SourceOp = "Background1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "Filter1",
               Source = "Output",
            },
            Center = Input { Value = { 0.5, 0.584994753410283 }, },
            PerformDepthMerge = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 783, 143 } },
      },
      Background1 = Background {
         Inputs = {
            GlobalOut = Input { Value = 68, },
            Width = Input { Value = 18, },
            Height = Input { Value = 28, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 951, 105 } },
      },
      Filter1 = Filter {
         CtrlWZoom = false,
         Inputs = {
            FilterType = Input { Value = 5, },
            Power = Input { Value = 10, },
            Input = Input {
               SourceOp = "FastNoise1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 841, 104 } },
      },
      FastNoise1 = FastNoise {
         Inputs = {
            GlobalOut = Input { Value = 68, },
            Width = Input { Value = 23, },
            Height = Input { Value = 2, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Detail = Input { Value = 3.97, },
            Contrast = Input { Value = 2.231, },
            XScale = Input { Value = 20, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 731, 104 } },
      }
   }
}
__
--[[BMD's cameras and Resolve all-post workflow evangelist
My old stuff: http://www.youtube.com/rebelorelse
Debug: Asus ROG Duo GX550 i9 10980 48Gb RAM RTX2080MaxQ DaVinci Resolve Studio / Fusion Studio Latest Version]]--
Offline

Sander de Regt

  • Posts: 3573
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: displacement with Fast Noise and no smooth resize - how?

PostMon Sep 11, 2017 7:23 am

It's difficult to tell from the post you made, because the displacement only has a FG input connected. So it doesn't actually show anything.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline
User avatar

Eugene Afanasiev

  • Posts: 600
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

Re: displacement with Fast Noise and no smooth resize - how?

PostMon Sep 11, 2017 8:00 am

Sorry, I thought you could add any picture yourself.
Code: Select all
{
   Tools = ordered() {
      FastNoise1_1_1 = FastNoise {
         Inputs = {
            GlobalOut = Input { Value = 65, },
            Width = Input { Value = 1479, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Detail = Input { Value = 5.68, },
            Contrast = Input { Value = 0.474, },
            XScale = Input { Value = 7.01, },
            SeetheRate = Input { Value = 1, },
            Color1Alpha = Input { Value = 1, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 3176.74, 129.976 } },
      },
      Resize2_1 = BetterResize {
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            Input = Input {
               SourceOp = "Resize1_1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 3525.75, 202.74 } },
      },
      Merge3_2 = Merge {
         Inputs = {
            Background = Input {
               SourceOp = "Background1_2",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "Resize2_1",
               Source = "Output",
            },
            FilterMethod = Input { Value = 1, },
            FlattenTransform = Input { Value = 1, },
            PerformDepthMerge = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 3563.75, 261.74 } },
      },
      FastNoise1_1 = FastNoise {
         Inputs = {
            GlobalOut = Input { Value = 65, },
            Width = Input { Value = 1479, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Detail = Input { Value = 3.97, },
            Contrast = Input { Value = 4.214, },
            XScale = Input { Value = 20, },
            SeetheRate = Input { Value = 1, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 3626.75, 152.74 } },
      },
      Resize1_1 = BetterResize {
         CtrlWZoom = false,
         Inputs = {
            Width = Input { Value = 36, },
            Height = Input { Value = 71, },
            PixelAspect = Input { Value = { 1, 1 }, },
            Input = Input {
               SourceOp = "FastNoise1_1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 3633.75, 202.74 } },
      },
      Background1_2 = Background {
         Inputs = {
            GlobalOut = Input { Value = 65, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 3741.75, 229.74 } },
      },
      Displace1_1 = Displace {
         Inputs = {
            Type = Input { Value = 1, },
            XOffset = Input {
               Value = -1,
               Expression = "XRefraction*-10",
            },
            XRefraction = Input { Value = 0.1, },
            RefractionStrength = Input { Value = 0.94, },
            Input = Input {
               SourceOp = "FastNoise1_1_1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "Merge3_2",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 3426.18, 319.54 } },
      }
   }
}


It's smoothened. And I need it to be blocky. How to achieve this?
__
--[[BMD's cameras and Resolve all-post workflow evangelist
My old stuff: http://www.youtube.com/rebelorelse
Debug: Asus ROG Duo GX550 i9 10980 48Gb RAM RTX2080MaxQ DaVinci Resolve Studio / Fusion Studio Latest Version]]--
Offline

Niels van der Heijden

  • Posts: 21
  • Joined: Wed Apr 20, 2016 11:29 am

Re: displacement with Fast Noise and no smooth resize - how?

PostMon Sep 11, 2017 8:05 am

You could turn off the filter in the resize node. You should first scale your image down and than up a gain using "nearest neighbor".
Offline
User avatar

Eugene Afanasiev

  • Posts: 600
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

Re: displacement with Fast Noise and no smooth resize - how?

PostTue Sep 12, 2017 7:39 pm

turned out, resize has filtering option and it has to be set to the Nearest Neighbor.
__
--[[BMD's cameras and Resolve all-post workflow evangelist
My old stuff: http://www.youtube.com/rebelorelse
Debug: Asus ROG Duo GX550 i9 10980 48Gb RAM RTX2080MaxQ DaVinci Resolve Studio / Fusion Studio Latest Version]]--

Return to Fusion

Who is online

Users browsing this forum: Steve Lodge and 28 guests