Jump to: Board index » General » Fusion

Why a single Polygon1 can be THAT slow *SOLVED

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

Why a single Polygon1 can be THAT slow *SOLVED

PostTue Apr 05, 2016 7:48 am

Hi
I'm concerned whether I misused a tool or it shouldn't be this slow?
How to optimize this?.. Should I avoid double masks in general or it's just not what they are for?

Here is the comp:
Code: Select all
{
   Tools = ordered() {
      PipeRouter1 = PipeRouter {
         Inputs = {
            Input = Input {
               SourceOp = "Background2",
               Source = "Output",
            },
         },
         ViewInfo = PipeRouterInfo { Pos = { 668.41, 220.197 } },
      },
      Background2 = Background {
         Inputs = {
            Width = Input { Value = 5472, },
            Height = Input { Value = 3648, },
            Depth = Input { Value = 2, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Type = Input { Value = FuID { "Gradient" }, },
            End = Input { Value = { 0.0127388535031847, 0.463165075034106 }, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [0.0766423357664234] = { 1, 0.131386861313869, 0.131386861313869, 1 },
                     [0.167883211678832] = { 0, 0.167883211678832, 0.167883211678832, 1 },
                     [0.237226277372263] = { 1, 0.237226277372263, 0.237226277372263, 1 },
                     [0.328467153284672] = { 0, 0, 1, 1 },
                     [0.481751824817518] = { 1, 0, 0.481751824817518, 1 },
                     [0.60948905109489] = { 0, 0.246478873239437, 1, 1 },
                     [0.7226277372263] = { 0.5961538461538, 1, 0.4038461538462, 1 },
                     [0.799270072992701] = { 1, 0.612676056338028, 0, 1 },
                     [0.875912408759124] = { 1, 0, 0.381818181818182, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
            Offset = Input {
               Value = 2.8,
               Expression = "time*.1",
            },
            Repeat = Input { Value = FuID { "Ping-Pong" }, },
         },
         ViewInfo = OperatorInfo { Pos = { 731.04, 94.1447 } },
      },
      ColorGain1 = ColorGain {
         ForceCacheToRAM = true,
         Inputs = {
            LiftRed = Input { Value = -0.136842105263158, },
            LiftGreen = Input { Value = -0.0947368421052631, },
            LiftBlue = Input { Value = -0.0421052631578948, },
            GammaRed = Input { Value = 0.926315789473684, },
            SaturationRed = Input { Value = 1.83809523809524, },
            SaturationGreen = Input { Value = 1.53333333333333, },
            SaturationBlue = Input { Value = 2.02857142857143, },
            ColorRanges = Input {
               Value = ColorCurves {
                  Curves = {
                     {
                        Points = {
                           { 0, 1 },
                           { 0.125, 0.75 },
                           { 0.375, 0.25 },
                           { 0.5, 0 }
                        }
                     },
                     {
                        Points = {
                           { 0.5, 0 },
                           { 0.625, 0.25 },
                           { 0.875, 0.75 },
                           { 1, 1 }
                        }
                     }
                  }
               },
            },
            Input = Input {
               SourceOp = "PipeRouter1",
               Source = "Output",
            },
            EffectMask = Input {
               SourceOp = "Ranges1",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 648.943, 295.877 } },
      },
      ColorCorrector1 = ColorCorrector {
         ForceCacheToRAM = true,
         Inputs = {
            WheelTintAngle1 = Input { Value = -0.536096157755324, },
            WheelTintLength1 = Input { Value = 0.126577777777778, },
            MasterRGBContrast = Input { Value = 0.961904761904762, },
            ColorRanges = Input {
               Value = ColorCurves {
                  Curves = {
                     {
                        Points = {
                           { 0, 1 },
                           { 0.4, 0.2 },
                           { 0.6, 0 },
                           { 1, 0 }
                        }
                     },
                     {
                        Points = {
                           { 0, 0 },
                           { 0.4, 0 },
                           { 0.6, 0.2 },
                           { 1, 1 }
                        }
                     }
                  }
               },
            },
            HistogramIgnoreTransparent = Input { Value = 1, },
            Input = Input {
               SourceOp = "ColorGain1",
               Source = "Output",
            },
            EffectMask = Input {
               SourceOp = "Ranges1",
               Source = "Mask",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 760.943, 315.877 } },
      },
      Ranges1 = RangesMask {
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Image = Input {
               SourceOp = "PipeRouter1",
               Source = "Output",
            },
            ColorRanges = Input {
               Value = ColorCurves {
                  Curves = {
                     {
                        Points = {
                           { 0.894339622641509, 1 },
                           { 0.936603773584906, 0.2 },
                           { 0.962264150943396, 0.446902654867257 },
                           { 1, 0 }
                        }
                     },
                     {
                        Points = {
                           { 0, 0 },
                           { 0.4, 0 },
                           { 0.6, 0.2 },
                           { 1, 1 }
                        }
                     }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 820.977, 198.662 } },
      },
      ColorCorrector2 = ColorCorrector {
         ForceCacheToRAM = true,
         Inputs = {
            ApplyMaskInverted = Input { Value = 1, },
            WheelSaturation1 = Input { Value = 2, },
            WheelTintAngle1 = Input { Value = -0.395821826777027, },
            WheelTintLength1 = Input { Value = 0.522311111111111, },
            MasterRGBGain = Input { Value = 0.771428571428571, },
            MasterRGBBrightness = Input { Value = -0.40952380952381, },
            ColorRanges = Input {
               Value = ColorCurves {
                  Curves = {
                     {
                        Points = {
                           { 0, 1 },
                           { 0.4, 0.2 },
                           { 0.6, 0 },
                           { 1, 0 }
                        }
                     },
                     {
                        Points = {
                           { 0, 0 },
                           { 0.4, 0 },
                           { 0.6, 0.2 },
                           { 1, 1 }
                        }
                     }
                  }
               },
            },
            HistogramIgnoreTransparent = Input { Value = 1, },
            Input = Input {
               SourceOp = "ColorCorrector1",
               Source = "Output",
            },
            EffectMask = Input {
               SourceOp = "Polygon1",
               Source = "Mask",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 871.943, 315.877 } },
      },
      Polygon1 = PolylineMask {
         DrawMode = "ModifyOnly",
         DrawMode2 = "InsertAndModify",
         PolyLine2Disabled = true,
         Inputs = {
            SoftEdge = Input { Value = 0.166666666666667, },
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon1Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               SourceOp = "Polygon1Polyline2",
               Source = "Value",
            },
            EffectMask = Input {
               SourceOp = "Ranges1",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 945.399, 220.669 } },
      },
      Polygon1Polyline = BezierSpline {
         SplineColor = { Red = 173, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0, Flags = { LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { LockPF = true, LockP = true, X = -0.723376870155334, Y = 0.171414628624916, LX = -0.0747970938682556, LY = -0.0115345120429993, RX = 0.239208906888962, RY = 0.0368886590003967 },
                     { LockP = true, X = 0.0181519389152527, Y = 0.195567145943642, LX = -0.0780141949653625, LY = 0.00410136580467224, RX = 0.155641913414001, RY = -0.00818243622779846 },
                     { LockP = true, X = 0.486237049102783, Y = 0.180073067545891, LX = -0.0614657402038574, LY = 0.0528620779514313, RX = 0.0517330169677734, RY = -0.0444917380809784 },
                     { LockP = true, X = 0.548490762710571, Y = 0.0233097225427628, LX = 0.029944896697998, LY = 0.00729131698608398, RX = -0.20003068447113, RY = -0.0487058460712433 },
                     { LockP = true, X = -0.102415442466736, Y = 0.0137398689985275, LX = 0.130023658275604, LY = 0, RX = -0.178861141204834, RY = 0 },
                     { LockP = true, X = -0.635906398296356, Y = 0.0470065027475357, LX = 0.00866824388504028, LY = -0.00637993216514587, RX = -0.0478260517120361, RY = 0.0352004766464233 }
                  }
               } }
         }
      },
      Polygon1Polyline2 = BezierSpline {
         SplineColor = { Red = 160, Green = 252, Blue = 4 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0, Flags = { LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { LockPF = true, LockP = true, X = -0.625170041785041, Y = 0.562145750001415, LX = -0.35169193790013, LY = 0.406469457911105, RX = 0.140453252182072, RY = -0.162329476169238 },
                     { LockP = true, X = 0.0223924451244977, Y = 0.31023217561943, LX = -0.0704110827132247, LY = 0.00291252564148182, RX = 0.18435386997123, RY = -0.00762573712438415 },
                     { LockP = true, X = 0.561292493863514, Y = 0.502551744567377, LX = -0.0856620943316102, LY = -0.0898105917242357, RX = 0.331452338063456, RY = 0.34750345201043 },
                     { LockP = true, X = 0.613904690282952, Y = -0.368393632542513, LX = 0.213382997067267, LY = 0.0408806538872522, RX = -0.222998741022372, RY = -0.0427230334951223 },
                     { LockP = true, X = -0.10963793930861, Y = -0.45281761181329, LX = 0.144953321412883, LY = -9.06734765592046e-018, RX = -0.207376075626009, RY = 0 },
                     { LockP = true, X = -0.724110442591559, Y = -0.320483737679777, LX = 0.0100501785202756, LY = -0.00582013205618607, RX = -0.283005297107722, RY = 0.16389052229314 }
                  }
               } }
         }
      },
      ColorCorrector3 = ColorCorrector {
         ForceCacheToRAM = true,
         Inputs = {
            Blend = Input { Value = 0.366666666666667, },
            WheelHue1 = Input { Value = -0.0207992289104533, },
            WheelSaturation1 = Input { Value = 1.17453398398854, },
            MasterRGBGain = Input { Value = 1.99047619047619, },
            MasterRGBLift = Input { Value = -0.00952380952380949, },
            MasterRGBGamma = Input { Value = 1.05714285714286, },
            ColorRanges = Input {
               Value = ColorCurves {
                  Curves = {
                     {
                        Points = {
                           { 0, 1 },
                           { 0.4, 0.2 },
                           { 0.6, 0 },
                           { 1, 0 }
                        }
                     },
                     {
                        Points = {
                           { 0, 0 },
                           { 0.4, 0 },
                           { 0.6, 0.2 },
                           { 1, 1 }
                        }
                     }
                  }
               },
            },
            HistogramIgnoreTransparent = Input { Value = 1, },
            Input = Input {
               SourceOp = "ColorCorrector2",
               Source = "Output",
            },
            EffectMask = Input {
               SourceOp = "Polygon3",
               Source = "Mask",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 981.943, 347.877 } },
      },
      Polygon3 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Locked = true,
         Inputs = {
            SoftEdge = Input { Value = 0.000476190476190476, },
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon3Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon2",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 981.943, 315.877 } },
      },
      Polygon3Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0, Flags = { LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { X = 0.00921338146887785, Y = 0.124383526845231, LX = -0.000296526325146004, LY = -0.000506605016830162, RX = 0.000140645850519035, RY = 0.000240288593042149 },
                     { X = 0.0104549775125208, Y = 0.126555683290128, LX = -0.000527854745904523, LY = -0.000531717257105791, RX = 0.000504218795962444, RY = 0.000507908354050925 },
                     { X = 0.0121233378562475, Y = 0.127654471189726, LX = -0.000716887020362815, LY = 8.96180637554755e-005, RX = 0.000945758543506851, RY = -0.000118229298399611 },
                     { X = 0.0144668323417967, Y = 0.125229237764062, LX = 9.71089488359707e-005, LY = 0.00025301245834937, RX = -0.000104991034826083, RY = -0.000273548835039491 },
                     { X = 0.0124300167982941, Y = 0.124527233896546, LX = 0.000908228033764448, LY = 0.000187915906405389, RX = -0.00062512183881293, RY = -0.000129340135502572 },
                     { X = 0.0105531314674658, Y = 0.124156113388178, LX = 0.000774960193599003, LY = 5.42779834021249e-005, RX = -0.000448943817641184, RY = -3.14438925814401e-005 }
                  }
               } }
         }
      },
      Polygon2 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            SoftEdge = Input { Value = 0.000666666666666667, },
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon2Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
         },
         ViewInfo = OperatorInfo { Pos = { 982.943, 282.877 } },
      },
      Polygon2Polyline = BezierSpline {
         SplineColor = { Red = 173, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0, Flags = { LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { X = -0.00276885161966617, Y = 0.122974543606439, LX = -5.79322289829711e-005, LY = -0.000264199370371845, RX = 0.000182840837773131, RY = 0.000833843873539237 },
                     { X = -0.00161176719602046, Y = 0.125266635808439, LX = -0.000538219145268258, LY = -0.000516405870845727, RX = 0.000533978798828317, RY = 0.000512337379757559 },
                     { X = 0.000244115128889333, Y = 0.125888475080983, LX = -0.000609866056211458, LY = 0.000259196293362842, RX = 0.000934486011879089, RY = -0.000397161488185041 },
                     { X = 0.00255812940824018, Y = 0.123232301288662, LX = 0.000192613291065708, LY = 0.000281485914334558, RX = -0.000269269395165865, RY = -0.000393511483455809 },
                     { X = 0.000282999186310917, Y = 0.122486304094068, LX = 0.000762629025009808, LY = 0.000217450044179339, RX = -0.000587577958402239, RY = -0.000167537359349429 },
                     { X = -0.0015112624383406, Y = 0.122503472655, LX = 0.000597971258370552, LY = -1.85718182871283e-005, RX = -0.000431976740187439, RY = 1.34163530616645e-005 }
                  }
               } }
         }
      },
      Merge1 = Merge {
         ForceCacheToRAM = true,
         Inputs = {
            Blend = Input { Value = 0.376190476190476, },
            Background = Input {
               SourceOp = "ColorCorrector3",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "UnsharpMask1",
               Source = "Output",
            },
            PerformDepthMerge = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 1165, 453 } },
      },
      UnsharpMask1 = UnsharpMask {
         Locked = true,
         ForceCacheToRAM = true,
         CustomData = {
            Settings = {
               [1] = {
                  Tools = ordered() {
                     UnsharpMask1 = UnsharpMask {
                        Inputs = {
                           Input = Input {
                              SourceOp = "ColorCorrector3",
                              Source = "Output"
                           },
                           XSize = Input { Value = 25 },
                           EffectMask = Input {
                              SourceOp = "Ranges2",
                              Source = "Mask"
                           }
                        },
                        Name = "UnsharpMask1",
                        CtrlWZoom = false,
                        Locked = true,
                        ViewInfo = OperatorInfo { Pos = { 1173.94, 368.877 } },
                        CustomData = {
                        }
                     }
                  }
               },
               [3] = {
                  Tools = ordered() {
                     UnsharpMask1 = UnsharpMask {
                        Inputs = {
                           Input = Input {
                              SourceOp = "ColorCorrector3",
                              Source = "Output"
                           },
                           XSize = Input { Value = 25 },
                           EffectMask = Input {
                              SourceOp = "Ranges2",
                              Source = "Mask"
                           }
                        },
                        CtrlWZoom = false,
                        Locked = true,
                        ViewInfo = OperatorInfo { Pos = { 1173.94, 368.877 } },
                        CustomData = {
                        }
                     }
                  }
               }
            }
         },
         Inputs = {
            XSize = Input { Value = 25, },
            Input = Input {
               SourceOp = "ColorCorrector3",
               Source = "Output",
            },
            EffectMask = Input {
               SourceOp = "Ranges2",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1173.94, 368.877 } },
      },
      Ranges2 = RangesMask {
         Locked = true,
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Image = Input {
               SourceOp = "PipeRouter1",
               Source = "Output",
            },
            ColorRanges = Input {
               Value = ColorCurves {
                  Curves = {
                     {
                        Points = {
                           { 0, 1 },
                           { 0.393962264150943, 0.2 },
                           { 0.792452830188679, 0.473451327433628 },
                           { 0.984905660377358, 0 }
                        }
                     },
                     {
                        Points = {
                           { 0, 0 },
                           { 0.158183413777973, 0.915929203539823 },
                           { 0.466415094339623, 0.2 },
                           { 0.777358490566038, 1 }
                        }
                     }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1227.94, 248.877 } },
      },
      Displace1 = Displace {
         ForceCacheToRAM = true,
         Inputs = {
            Center = Input { Value = { 0.509157509157509, 0.535714285714286 }, },
            RefractionStrength = Input { Value = 0.304761904761905, },
            LightPower = Input { Value = 2.2, },
            Spread = Input { Value = 0.1, },
            Input = Input {
               SourceOp = "Merge1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "Dent2",
               Source = "Output",
            },
            EffectMask = Input {
               SourceOp = "Polygon5",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1258, 512 } },
      },
      Polygon5 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            SoftEdge = Input { Value = 0.0266666666666667, },
            PaintMode = Input { Value = FuID { "Subtract" }, },
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon5Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon4",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1346, 347 } },
      },
      Polygon5Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0, Flags = { LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { X = -0.0173594132065773, Y = 0.100146733224392, LX = 0.00134908355477689, LY = 0.0059036834326233, RX = -0.00075181197803664, RY = -0.00328998148666684 },
                     { X = -0.0161369200795889, Y = 0.0898752734065056, LX = 0.00139096412441886, LY = 0.00278260806589876, RX = -0.00245060254555179, RY = -0.00490240279375532 },
                     { X = -0.0268948655575514, Y = 0.0810711681842804, LX = 0.00366748163071267, LY = 0.00293470450122836, RX = -0.00325617395972638, RY = -0.00260557770661134 },
                     { X = -0.034474328160286, Y = 0.0689655169844627, LX = 0.00195598968812482, LY = 0.00476889189275331, RX = -0.00674363213660111, RY = -0.0164416268752309 },
                     { X = -0.0513447448611259, Y = 0.0168745405972004, LX = 0.00293398374523102, LY = 0.00330153986352466, RX = -0.00791718914572938, RY = -0.00890901853637644 },
                     { X = -0.0770171135663986, Y = -0.00550256809219718, LX = 0.0188264072159974, LY = 0.0135730005064823, RX = -0.0107553269199988, RY = -0.00775411134252312 },
                     { X = -0.109779953956604, Y = -0.0271460022777319, LX = 0.0104021407578143, LY = 0.00877151204389827, RX = -0.00528125960372444, RY = -0.00445337486768984 },
                     { X = -0.123227380216122, Y = -0.0454878956079483, LX = 0.00268605425080747, LY = 0.00814588133539802, RX = -0.00165185845659764, RY = -0.0050095201786312 },
                     { X = -0.121271394193172, Y = -0.0619955994188786, LX = -0.00163734703533063, LY = 0.00502022781104595, RX = 0.00140986700331197, RY = -0.00432275711084885 },
                     { X = -0.116870418190956, Y = -0.0748349204659462, LX = -0.00278535281165024, LY = 0.00238802890960919, RX = 0.00269714461431665, RY = -0.0023124034001886 },
                     { X = -0.107579462230206, Y = -0.0737344101071358, LX = -0.00220650936689955, LY = -0.0032803196223734, RX = 0.00245369192016768, RY = 0.00364779496236397 },
                     { X = -0.104156479239464, Y = -0.0590608939528465, LX = -0.00180396039914783, LY = -0.00441934979964289, RX = 0.00274288343154165, RY = 0.00671952740722777 },
                     { X = -0.0924205407500267, Y = -0.0432868674397469, LX = -0.00479797727560789, LY = -0.00320677433497918, RX = 0.00871048570850967, RY = 0.00582173703849249 },
                     { X = -0.0652811750769615, Y = -0.0297138672322035, LX = -0.00913367995625475, LY = 0.00411116024362869, RX = 0.00546615462498051, RY = -0.00246037059404057 },
                     { X = -0.0655256733298302, Y = -0.0553925149142742, LX = 0.00146699170684467, LY = 0.0044020558854323, RX = -0.00463424457396118, RY = -0.0139061478712903 },
                     { X = -0.0669926628470421, Y = -0.101980924606323, LX = 0.000733498522151035, LY = 0.00513572983241484, RX = -0.00374744249095754, RY = -0.0262384335003561 },
                     { X = -0.0704156458377838, Y = -0.182318419218063, LX = 2.08397660264934e-009, LY = 0.00953778034173117, RX = -5.10649764303368e-009, RY = -0.0233710171116237 },
                     { X = -0.072127141058445, Y = -0.252384454011917, LX = 0.00148525766197124, LY = 0.023264586018375, RX = -0.00165404840914627, RY = -0.0259084685966662 },
                     { X = -0.0789731070399284, Y = -0.329787224531174, LX = -0.016275863447568, LY = 0.00902059153660413, RX = 0.0516468689009086, RY = -0.0286243067841205 },
                     { X = 0.0860635712742805, Y = -0.34005868434906, LX = -0.0533569151869568, LY = -0.0203798416117596, RX = 0.0154776510990784, RY = 0.00591173752860439 },
                     { X = 0.081418089568615, Y = -0.268525302410126, LX = 0.00122249054661005, LY = -0.00917093703961947, RX = -0.0030599093590283, RY = 0.0229549718453095 },
                     { X = 0.0782396122813225, Y = -0.198459282517433, LX = 0.000244502256872559, LY = -0.00440205581163708, RX = -0.000751400693411561, RY = 0.0135283323418342 },
                     { X = 0.0777506083250046, Y = -0.157740280032158, LX = 0.000486384600442513, LY = -0.013555583729658, RX = -0.00109477290185561, RY = 0.030511421871833 },
                     { X = 0.0726161375641823, Y = -0.0663976520299912, LX = 0.00073349697738522, LY = -0.00953778409161993, RX = -0.000738538359478413, RY = 0.00960333802764236 },
                     { X = 0.0718826428055763, Y = -0.0374174602329731, LX = -0.00630554415100356, LY = -0.00199789713862724, RX = 0.0135609636831655, RY = 0.00429676010361647 },
                     { X = 0.111980438232422, Y = -0.0539251640439034, LX = -0.012001654985228, LY = 0.0103993835422742, RX = 0.00669549711736504, RY = -0.00580162007784526 },
                     { X = 0.13105134665966, Y = -0.0737344101071358, LX = -0.00765459271520543, LY = 0.00164067137380842, RX = 0.00411445148682918, RY = -0.000881883991026027 },
                     { X = 0.139364302158356, Y = -0.0597945712506771, LX = 0.000485502560239297, LY = -0.00619168519483507, RX = -0.000613005917605229, RY = 0.00781775416902398 },
                     { X = 0.128606364130974, Y = -0.0425531901419163, LX = 0.00118639730831308, LY = -0.00766784291906442, RX = -0.000594775999037579, RY = 0.00384411604838725 },
                     { X = 0.136185824871063, Y = -0.0392516516149044, LX = -0.000167544932497208, LY = -0.00393827682608475, RX = 0.000245027998239942, RY = 0.00575957788055677 },
                     { X = 0.12933985888958, Y = -0.0253118127584457, LX = 0.00353994997478484, LY = -0.00226108853830827, RX = -0.00576655794400804, RY = 0.00368330009338045 },
                     { X = 0.111002445220947, Y = -0.0190755687654018, LX = 0.00831295866837999, LY = -0.00403521660105853, RX = -0.0116844158163841, RY = 0.00567176507869391 },
                     { X = 0.0755501240491867, Y = -0.00403521629050374, LX = 0.00317848590737746, LY = -0.00623624343650519, RX = -0.00943235460132863, RY = 0.0185064402320598 },
                     { X = 0.0550122261047363, Y = 0.0586940571665764, LX = 0.00220049016341605, LY = -0.00880410864413528, RX = -0.00251414827174716, RY = 0.0100590472522561 },
                     { X = 0.0408312976360321, Y = 0.0829053521156311, LX = 0.00356576098339759, LY = -0.00931657578951307, RX = -0.00292481870616511, RY = 0.00764192980781585 },
                     { X = 0.0400977991521358, Y = 0.109317682683468, LX = 0.000977994751157896, LY = -0.00513572890860847, RX = -0.00125871276459334, RY = 0.00660985912767221 },
                     { X = 0.0315403416752815, Y = 0.125458553433418, LX = 0.000609163984584019, LY = -0.0068132305906121, RX = -0.000486976771173829, RY = 0.00544662048027138 },
                     { X = 0.0374083146452904, Y = 0.139398381114006, LX = 0.00261575598222095, LY = 0.00384764219291147, RX = -0.00672909682224723, RY = -0.00989815450273064 },
                     { X = 0.0190709047019482, Y = 0.107116654515266, LX = 0.00894081353567249, LY = 0.00447149937133305, RX = -0.00944681043285576, RY = -0.00472455965478759 },
                     { X = -0.0102689489722252, Y = 0.115553922951221, LX = 0.00987798281874288, LY = 0.00188987543101117, RX = -0.00412626159995792, RY = -0.000789444622730951 }
                  }
               } }
         }
      },
      Ranges3 = RangesMask {
         Locked = true,
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Image = Input {
               SourceOp = "PipeRouter1",
               Source = "Output",
            },
            ColorRanges = Input {
               Value = ColorCurves {
                  Curves = {
                     {
                        Points = {
                           { 0.2, 1 },
                           { 0.52, 0.2 },
                           { 0.68, 0 },
                           { 1, 0 }
                        }
                     },
                     {
                        Points = {
                           { 0, 0 },
                           { 0.4, 0 },
                           { 0.320754716981132, 0.606194690265487 },
                           { 1, 1 }
                        }
                     }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1346, 281 } },
      },
      Polygon4 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            PaintMode = Input { Value = FuID { "Subtract" }, },
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon4Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Ranges3",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1346, 314 } },
      },
      Polygon4Polyline = BezierSpline {
         SplineColor = { Red = 173, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0, Flags = { LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { X = -0.00944584421813488, Y = -0.00330656580626965, LX = 0.00164064458152534, LY = -0.00708530353455108, RX = -0.00565797079622837, RY = 0.0244345673233093 },
                     { X = -0.0256612095981836, Y = 0.0703826174139977, LX = 0.00177415429741703, LY = -0.0257292894400322, RX = -0.000410657121490932, RY = 0.00595546619301007 },
                     { X = -0.0151133500039577, Y = 0.0788852125406265, LX = -0.00380621456264284, LY = -0.00180295868472872, RX = 0.00180508596924576, RY = 0.000855047809673096 },
                     { X = -0.0110201509669423, Y = 0.0847897976636887, LX = -0.000245544805360268, LY = -0.00281544023962788, RX = 0.000564210664164763, RY = 0.00646929347654479 },
                     { X = -0.0129093201830983, Y = 0.104156829416752, LX = -0.00177129092224946, LY = -0.00595891751124911, RX = 0.000976740246941128, RY = 0.00328591677873431 },
                     { X = -0.00582493701949716, Y = 0.102267362177372, LX = -0.00219873334352295, LY = 0.00143747478706112, RX = 0.0015189772860437, RY = -0.000993067921236785 },
                     { X = -0.000944584375247359, Y = 0.100850261747837, LX = -0.000385312746352549, LY = -0.00241734204922952, RX = 0.000679960549518891, RY = 0.00426587815671507 },
                     { X = -0.00409319903701544, Y = 0.113131791353226, LX = 0.00131893611009178, LY = -0.00391457694934385, RX = -0.00110254648330982, RY = 0.00327233670844329 },
                     { X = -0.00598236778751016, Y = 0.123760037124157, LX = 0.000472292162112029, LY = -0.0047236662296456, RX = -0.000470228238713123, RY = 0.00470302374170678 },
                     { X = -0.00283375312574208, Y = 0.137222483754158, LX = -0.00266052108191142, LY = -0.00258642653012432, RX = 0.00246961593054153, RY = 0.00240083801831078 },
                     { X = 0.00598236778751016, Y = 0.137931033968925, LX = -0.00294292217513528, LY = 0, RX = 0.00268095005810728, RY = 0 },
                     { X = 0.0140113346278667, Y = 0.137222483754158, LX = -0.00266468976088118, LY = 0.000442237275363488, RX = 0.00278842187034046, RY = -0.00046277210525834 },
                     { X = 0.0223551634699106, Y = 0.135569199919701, LX = -0.00226202335106224, LY = 0.00248915417671346, RX = 0.00194156135058267, RY = -0.00213651443645742 },
                     { X = 0.0248740557581186, Y = 0.125413313508034, LX = 9.88594869088565e-005, LY = 0.00360893894614762, RX = -7.65135301612432e-005, RY = -0.00279318320922232 },
                     { X = 0.0218828711658716, Y = 0.11832781881094, LX = 0.00102647204719592, LY = 0.0023333117489276, RX = -0.00101503891247986, RY = -0.00230732266560776 },
                     { X = 0.0199937019497156, Y = 0.110533773899078, LX = 0.000285549195501038, LY = 0.00273101823456391, RX = -0.000252621728034274, RY = -0.00241609696885361 },
                     { X = 0.0196788404136896, Y = 0.103212095797062, LX = -0.000945433589446642, LY = 0.0019924768405432, RX = 0.00158709816404037, RY = -0.00334476833784796 },
                     { X = 0.0266057942062616, Y = 0.0965989604592323, LX = -0.00272064283079816, LY = 0.000447981434108292, RX = 0.00221625398047877, RY = -0.000364928694529086 },
                     { X = 0.0325881615281105, Y = 0.10108644515276, LX = -0.00138140466991711, LY = 0.0026250817798516, RX = 0.00187174373036915, RY = -0.00355687255888482 },
                     { X = 0.0313287153840065, Y = 0.0876239985227585, LX = 0.000634247424800553, LY = 0.00443045603655487, RX = -0.00250425726360065, RY = -0.0174931758124124 },
                     { X = 0.0262909326702356, Y = 0.0344827584922314, LX = 0.00220403090701149, LY = 0.00684931494003483, RX = -0.00703578792389903, RY = -0.0218646331994595 },
                     { X = -0.00299118389375508, Y = -0.0236183274537325, LX = 0.0132282662120929, LY = 0.0139880337658083, RX = -0.00408654640929621, RY = -0.00432125784606007 }
                  }
               } }
         }
      },
      Dent1 = Dent {
         ForceCacheToRAM = true,
         Inputs = {
            Center = Input { Value = { 0.506277463904583, 0.485888993414864 }, },
            Size = Input { Value = 0.628571428571429, },
            Strength = Input { Value = -0.190476190476191, },
            Input = Input {
               SourceOp = "Merge1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1456, 346 } },
      },
      Dent2 = Dent {
         ForceCacheToRAM = true,
         Inputs = {
            Type = Input { Value = 5, },
            Center = Input { Value = { 0.506277463904583, 0.487770460959548 }, },
            Size = Input { Value = 1.08571428571429, },
            Strength = Input { Value = 1.14285714285714, },
            Input = Input {
               SourceOp = "Dent1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1565, 346 } },
      }
   }
}
Last edited by Eugene Afanasiev on Wed Apr 06, 2016 10:37 pm, edited 1 time in total.
__
--[[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
User avatar

Eugene Afanasiev

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

Re: Why a single Polygon1 can be THAT slow

PostTue Apr 05, 2016 7:53 am

And the problem goes on when after that stupid Polygon1 you start adding new nodes, whether you force cache the node which it is applied to or not (cause for some reason masks can not be force cached). It doesn't matter cause it starts re-rendering each time you add new tools, even if not to see through them.
__
--[[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
User avatar

Eugene Afanasiev

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

Re: Why a single Polygon1 can be THAT slow

PostTue Apr 05, 2016 7:55 am

And also it's re-rendering every frame although it is constant.
__
--[[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: 3497
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Why a single Polygon1 can be THAT slow

PostTue Apr 05, 2016 11:48 am

It is rerendering because - to Fusion - it isn't constant. It has an animation curve (look at the green rectangle where it says 'right click here for shape animation' If you right-click there and select 'remove polyline' it will be constant.

Apart from that I am not sure why it's so slow, apart from the fact that you're working on an enourmous frame.

Eugene Afanasiev wrote:And also it's re-rendering every frame although it is constant.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

Ivan Ivanov

  • Posts: 86
  • Joined: Tue Nov 11, 2014 11:16 am

Re: Why a single Polygon1 can be THAT slow

PostTue Apr 05, 2016 12:43 pm

You can optimize it by setting its clipping mode (under "image" tab) to "frame". As it is now, the DoD of the polygon is several times bigger than the frame itself AND it forces the same DoD downstream to the CC tool and onward.

The polygon will still be slow, but not that slow. The huge soft edge is forcing lots of interpolation calculation.
Offline
User avatar

Chad Capeland

  • Posts: 3017
  • Joined: Mon Nov 10, 2014 9:40 pm

Re: Why a single Polygon1 can be THAT slow

PostTue Apr 05, 2016 1:53 pm

And unlike the soft edge parameter, it isn't blurred in pixel space, you're forcing it to draw thousands of micro triangles with shading.
Chad Capeland
Indicated, LLC
www.floweffects.com
Offline
User avatar

Eugene Afanasiev

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

Re: Why a single Polygon1 can be THAT slow

PostWed Apr 06, 2016 9:46 pm

Why does Force Cache mode doesn't work as expected? Shouldn't it be forcing the output image to always be cached in the memory?

( from the manual:
"Force Cache
When this option is enabled, the tool’s output for the current frame has an extremely high cache
priority, essentially forcing it to stay cached in memory." )
__
--[[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
User avatar

Eugene Afanasiev

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

Re: Why a single Polygon1 can be THAT slow

PostWed Apr 06, 2016 10:05 pm

Same here: the last merge is supposed to be Force cached but every time I select/deselect a tool the fast noise from the rusty metal node starts re-rendering - not even touching the parameters from the sGlow.

I expected it to cache everything beneath the SGlow so I can easily see the change when I slide it's parameters, but it doesn't behave:
Code: Select all
{
   Tools = ordered() {
      RustyMetal = GroupOperator {
         CtrlWZoom = false,
         Inputs = ordered() {
            Input1 = InstanceInput {
               SourceOp = "Ward3",
               Source = "Diffuse.Color.Red",
               Name = "Diffuse Color",
               ControlGroup = 1,
               Default = 1,
            },
            Input2 = InstanceInput {
               SourceOp = "Ward3",
               Source = "Diffuse.Color.Green",
               ControlGroup = 1,
               Default = 1,
            },
            Input3 = InstanceInput {
               SourceOp = "Ward3",
               Source = "Diffuse.Color.Blue",
               ControlGroup = 1,
               Default = 1,
            },
            Input4 = InstanceInput {
               SourceOp = "Ward3",
               Source = "Diffuse.Color.Alpha",
               Default = 1,
            },
            Input5 = InstanceInput {
               SourceOp = "Ward3",
               Source = "Diffuse.Opacity",
               Default = 1,
            },
            Input6 = InstanceInput {
               SourceOp = "Ward3",
               Source = "Specular.Color.Red",
               Name = "Specular Color",
               ControlGroup = 4,
               Default = 1,
            },
            Input7 = InstanceInput {
               SourceOp = "Ward3",
               Source = "Specular.Color.Green",
               ControlGroup = 4,
               Default = 1,
            },
            Input8 = InstanceInput {
               SourceOp = "Ward3",
               Source = "Specular.Color.Blue",
               ControlGroup = 4,
               Default = 1,
            },
            Input9 = InstanceInput {
               SourceOp = "Ward3",
               Source = "Specular.Intensity",
               Default = 3,
            },
            Input10 = InstanceInput {
               SourceOp = "Ward3",
               Source = "Specular.SpreadU",
               Default = 0.1517127,
            },
            Input11 = InstanceInput {
               SourceOp = "Ward3",
               Source = "Specular.SpreadV",
               Default = 0.8269613,
            }
         },
         Outputs = {
            MainOutput1 = InstanceOutput {
               SourceOp = "Ward3",
               Source = "MaterialOutput",
            }
         },
         ViewInfo = GroupInfo {
            Pos = { 1107.12, 198.712 },
            Flags = {
               Expanded = true,
               AutoSnap = true,
               RemoveRouters = true
            },
            Size = { 401, 196.3 },
            Direction = "Horizontal",
            PipeStyle = "Direct",
            Scale = 1,
            Offset = { -4, 0 }
         },
         Tools = ordered() {
            FastNoise2_4_2_2 = FastNoise {
               Inputs = {
                  Width = Input { Value = 8000, },
                  Height = Input { Value = 4000, },
                  Detail = Input { Value = 10, },
                  XScale = Input { Value = 62.3333333333333, },
                  YScale = Input { Value = 20, },
                  Type = Input { Value = 1, },
                  GradientType = Input { Value = 5, },
                  Start = Input { Value = { -0.483786346380604, 5.17597085276845 }, },
                  End = Input { Value = { 2.07625810230174, -3.42652761131079 }, },
                  Gradient = Input {
                     Value = Gradient {
                        Colors = {
                           [0] = { 0.393333333333333, 0.16654653720614, 0.0779579540155786, 1 },
                           [0.196078431372549] = { 0.606666666666667, 0.259279898904173, 0.173857185185185, 1 },
                           [0.372549019607843] = { 0.693333333333333, 0.362322579109954, 0.241548397404594, 1 },
                           [0.580392156862745] = { 0.486666666666667, 0.323473068744969, 0.227305390680309, 1 },
                           [0.6] = { 0.475565037037036, 0.604999999999999, 0.66, 1 },
                           [0.717647058823529] = { 0.415256518241316, 0.531233563360456, 0.58, 1 },
                           [0.862745098039216] = { 0.466373899448962, 0.598175666164469, 0.653333333333333, 1 },
                           [1] = { 0.403389830508475, 0.51864406779661, 0.566666666666667, 1 }
                        }
                     },
                  },
               },
               ViewInfo = OperatorInfo { Pos = { -137.5, 43.15 } },
            },
            LumaKeyer1 = LumaKeyer {
               Inputs = {
                  Channel = Input { Value = 2, },
                  High = Input { Value = 0.8609272, },
                  Low = Input { Value = 0.2119205, },
                  Invert = Input { Value = 1, },
                  Input = Input {
                     SourceOp = "FastNoise2_4_2_2",
                     Source = "Output",
                  },
               },
               ViewInfo = OperatorInfo { Pos = { -24.5, 12.15 } },
            },
            LumaKeyer1_1 = LumaKeyer {
               Inputs = {
                  Channel = Input { Value = 2, },
                  High = Input { Value = 0.6622517, },
                  Low = Input { Value = 0.3642384, },
                  Invert = Input { Value = 1, },
                  Input = Input {
                     SourceOp = "FastNoise2_4_2_2",
                     Source = "Output",
                  },
                  GarbageMatte = Input {
                     SourceOp = "Ellipse1",
                     Source = "Mask",
                  }
               },
               ViewInfo = OperatorInfo { Pos = { 57.5, 46.15 } },
            },
            Ellipse1 = EllipseMask {
               Inputs = {
                  Level = Input { Value = 0.8272251, },
                  SoftEdge = Input { Value = 0.0408377, },
                  MaskWidth = Input { Value = 1280, },
                  MaskHeight = Input { Value = 720, },
                  PixelAspect = Input { Value = { 1, 1 }, },
                  ClippingMode = Input { Value = FuID { "None" }, },
                  Width = Input { Value = 0.216417910447761, },
                  Height = Input { Value = 0.2389134943331, },
               },
               ViewInfo = OperatorInfo { Pos = { -87.5, 101.15 } },
            },
            BumpMap4 = BumpMap {
               Inputs = {
                  Input = Input {
                     SourceOp = "LumaKeyer1",
                     Source = "Output",
                  },
                  SourceChannel = Input { Value = FuID { "Alpha" }, },
                  HeightScale = Input { Value = 8.57151142857143, },
                  MaterialID = Input { Value = 19, },
               },
               ViewInfo = OperatorInfo { Pos = { 137.5, 10.15 } },
            },
            Ward3 = MtlWard {
               Inputs = {
                  ["Diffuse.Color.Material"] = Input {
                     SourceOp = "FastNoise2_4_2_2",
                     Source = "Output",
                  },
                  ["Specular.Nest"] = Input { Value = 1, },
                  ["Specular.Color.Material"] = Input {
                     SourceOp = "LumaKeyer1_1",
                     Source = "Output",
                  },
                  ["Specular.Intensity"] = Input { Value = 3, },
                  ["Specular.Intensity.Material"] = Input {
                     SourceOp = "LumaKeyer1_1",
                     Source = "Output",
                  },
                  ["Specular.SpreadU"] = Input { Value = 0.1517127, },
                  ["Specular.SpreadV"] = Input { Value = 0.8269613, },
                  ["Bumpmap.Material"] = Input {
                     SourceOp = "BumpMap4",
                     Source = "MaterialOutput",
                  },
                  MaterialID = Input { Value = 18, },
               },
               ViewInfo = OperatorInfo { Pos = { 147.5, 137.15 } },
            }
         },
      },
      ReplaceMaterial3D1 = ReplaceMaterial3D {
         Inputs = {
            SceneInput = Input {
               SourceOp = "UVMap3D1",
               Source = "Output",
            },
            ["ReplaceMode.Nest"] = Input { Value = 1, },
            MaterialInput = Input {
               SourceOp = "Ward3",
               Source = "MaterialOutput",
            },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 1113, 412 } },
      },
      Text3D1 = Text3D {
         Inputs = {
            LayoutRotation = Input { Value = 1, },
            Font = Input { Value = "Arial", },
            StyledText = Input { Value = "ALALALALAL", },
            Style = Input { Value = "Bold", },
            Extrusion = Input { Value = 1, },
            ExtrusionProfile = Input {
               SourceOp = "Text3D1ExtrusionProfile",
               Source = "Value",
            },
            ExtrusionDepth = Input { Value = 0.2, },
            AdvancedFontControls = Input { Value = 1, },
            ManualFontKerningPlacement = Input {
               Value = StyledText {
                  Array = {
                  },
                  Value = ""
               },
            },
            Alignment = Input { Value = 1, },
            HorizontalJustification = Input { Value = 1, },
            VerticalJustification = Input { Value = 3, },
            VerticalTopCenterBottom = Input { Value = 0.105263157894737, },
            CharacterSpacing = Input {
               SourceOp = "Text3D1CharacterSpacing",
               Source = "Value",
            },
            CharacterPivotZ = Input { Value = 0.112531668804762, },
            CharacterRotation = Input { Value = 1, },
            CharacterAngleY = Input {
               SourceOp = "Text3D1CharacterAngleY",
               Source = "Value",
            },
            UseOneMaterial = Input { Value = 0, },
            Type1 = Input { Value = 1, },
            ShadingGradient1 = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
            TypeBevel = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 888, 413 } },
      },
      Text3D1ExtrusionProfile = LUTBezier {
         KeyColorSplines = {
            [0] = {
               [0] = { 0, RH = { 0.0196116135138184, 0.098058067569092 }, Flags = { Linear = true } },
               [0.2] = { 1, LH = { 0.180388386486182, 0.901941932430908 }, RH = { 0.3, 1 }, Flags = { Linear = true } },
               [0.8] = { 1, LH = { 0.7, 1 }, RH = { 0.819611613513818, 0.901941932430908 }, Flags = { Linear = true } },
               [1] = { 0, LH = { 0.980388386486182, 0.098058067569092 }, Flags = { Linear = true } }
            }
         },
         SplineColor = { Red = 192, Green = 128, Blue = 64 },
         NameSet = true,
      },
      Text3D1CharacterSpacing = BezierSpline {
         SplineColor = { Red = 28, Green = 132, Blue = 243 },
         NameSet = true,
         KeyFrames = {
            [40] = { 1.14285714285714, RH = { 51.6666666666667, 1.14285714285714 } },
            [75] = { 1.02095238095238, LH = { 63.3333333333333, 1.02095238095238 } }
         }
      },
      Text3D1CharacterAngleY = BezierSpline {
         SplineColor = { Red = 28, Green = 216, Blue = 243 },
         NameSet = true,
         KeyFrames = {
            [40] = { 88.0851064, RH = { 45.2307692307692, 50.1063829846154 } },
            [74] = { 0, LH = { 62.6666666666667, 0 } }
         }
      },
      UVMap3D1 = UVMap {
         Inputs = {
            SceneInput = Input {
               SourceOp = "Text3D1",
               Source = "Output",
            },
            CameraInput = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
            MapMode = Input { Value = FuID { "Camera" }, },
            Orientation = Input { Value = 2, },
            LockUVs = Input { Value = 1, },
            RefTime = Input { Value = 52, },
            ["Size.X"] = Input { Value = 4.93962049484253, },
            ["Size.Y"] = Input { Value = 0.512587428092957, },
            ["Size.Z"] = Input { Value = 0.200000002980232, },
            ["Center.X"] = Input { Value = -0.0108392238616943, },
            ["Center.Y"] = Input { Value = 0.00382775068283081, },
            ["Center.Z"] = Input { Value = 0.100000001490116, },
         },
         ViewInfo = OperatorInfo { Pos = { 1000, 416 } },
      },
      ReplaceNormals3D1 = ReplaceNormals3D {
         Inputs = {
            SceneInput = Input {
               SourceOp = "ReplaceMaterial3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1227, 415 } },
      },
      Camera3D1 = Camera3D {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input {
               SourceOp = "Camera3D1XOffset",
               Source = "Value",
            },
            ["Transform3DOp.Translate.Y"] = Input {
               SourceOp = "Camera3D1YOffset",
               Source = "Value",
            },
            ["Transform3DOp.Translate.Z"] = Input {
               SourceOp = "Camera3D1ZOffset",
               Source = "Value",
            },
            ["Transform3DOp.Rotate.Z"] = Input {
               SourceOp = "Camera3D1ZRotation",
               Source = "Value",
            },
            PerspNearClip = Input { Value = 0.1, },
            PerspFarClip = Input { Value = 4058.8829412, },
            AoV = Input { Value = 9.80392046962512, },
            FLength = Input { Value = 85, },
            ["Stereo.Mode"] = Input { Value = FuID { "Mono" }, },
            FilmBack = Input { Value = 1, },
            FilmGate = Input { Value = FuID { "RED_Epic" }, },
            ApertureW = Input { Value = 1.08858267716535, },
            ApertureH = Input { Value = 0.574015748031496, },
            ControlVis = Input { Value = 1, },
            PerspFarClipSub = Input { Value = 4, },
            PlaneOfFocusVis = Input { Value = 1, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 894, 451 } },
      },
      Camera3D1XOffset = BezierSpline {
         SplineColor = { Red = 250, Green = 59, Blue = 49 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0 }
         }
      },
      Camera3D1YOffset = BezierSpline {
         SplineColor = { Red = 252, Green = 131, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0 }
         }
      },
      Camera3D1ZOffset = BezierSpline {
         SplineColor = { Red = 254, Green = 207, Blue = 46 },
         NameSet = true,
         KeyFrames = {
            [0] = { 3836.1735488086, RH = { 13.3333333333333, 3836.1735488086 } },
            [40] = { 38.8297872, LH = { 26.6680005905853, 992.48520389841 }, RH = { 43.9, 28.15 } },
            [80] = { 21.1702127, LH = { 66.6666666666667, 21.1702127 } }
         }
      },
      Camera3D1ZRotation = BezierSpline {
         SplineColor = { Red = 128, Green = 128, Blue = 255 },
         NameSet = true,
         KeyFrames = {
            [0] = { -13.4042553, RH = { 26.6666666666667, -13.4042553 } },
            [80] = { 4.0212766, LH = { 53.3333333333333, 4.0212766 } }
         }
      },
      AmbientLight1 = LightAmbient {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = 0.203371254256965, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 3.52369436807676, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 1.03220137319767, },
            Intensity = Input { Value = 0.180952380952381, },
         },
         ViewInfo = OperatorInfo { Pos = { 894, 484 } },
      },
      Merge3D1 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "ReplaceNormals3D1",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
            SceneInput3 = Input {
               SourceOp = "AmbientLight1",
               Source = "Output",
            },
            SceneInput4 = Input {
               SourceOp = "SpotLight1",
               Source = "Output",
            },
            SceneInput5 = Input {
               SourceOp = "Ribbon3D1",
               Source = "Output",
            },
            SceneInput6 = Input {
               SourceOp = "DirectionalLight1",
               Source = "Output",
            },
            SceneInput7 = Input {
               SourceOp = "Replicate3D1",
               Source = "Data3D",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1337, 427 } },
      },
      SpotLight1 = LightSpot {
         Inputs = {
            ["Transform3DOp.Translate.Y"] = Input { Value = 2.62454879989156, },
            ["Transform3DOp.Rotate.X"] = Input { Value = -90, },
         },
         ViewInfo = OperatorInfo { Pos = { 894, 517 } },
      },
      PointLight1 = LightPoint {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = -1.849898275107, },
            ["Transform3DOp.Translate.Z"] = Input { Value = -1.18780775925266, },
            Green = Input { Value = 0.427753191036226, },
            Blue = Input { Value = 0, },
            Intensity = Input { Value = 0.295238095238095, },
         },
         ViewInfo = OperatorInfo { Pos = { 898, 548 } },
      },
      Renderer3D1 = Renderer3D {
         Inputs = {
            Width = Input { Value = 3840, },
            Height = Input { Value = 2160, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            SceneInput = Input {
               SourceOp = "Merge3D1",
               Source = "Output",
            },
            ["RendererSoftware.Channels.Nest"] = Input { Value = 1, },
            ["RendererSoftware.Channels.Z"] = Input { Value = 1, },
            ["RendererSoftware.Channels.Normal"] = Input { Value = 1, },
            ["RendererSoftware.LightingEnabled"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 1453, 454 } },
      },
      Replicate3D1 = Replicate3D {
         Inputs = {
            ["Translate.Y"] = Input { Value = 0.540329395093645, },
            Destination = Input {
               SourceOp = "Ribbon3D1",
               Source = "Output",
            },
            Input1 = Input {
               SourceOp = "PointLight1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1258, 570 } },
      },
      DirectionalLight1 = LightDirectional {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = -6.30407929839432, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 4.10551383517989, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 3.43878967674647, },
            ["Transform3DOp.Rotate.X"] = Input { Value = -17.2340426, },
            ["Transform3DOp.Rotate.Y"] = Input { Value = -67.0212766, },
            Red = Input { Value = 0.079130845342293, },
            Green = Input { Value = 0.472336683621873, },
            Intensity = Input { Value = 0.561904761904762, },
         },
         ViewInfo = OperatorInfo { Pos = { 894, 583 } },
      },
      SoftGlow1 = SoftGlow {
         Inputs = {
            Alpha = Input { Value = 0, },
            Threshold = Input { Value = 0.147619047619048, },
            Input = Input {
               SourceOp = "Merge1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1497.82, 538.26 } },
      },
      Merge1 = Merge {
         ForceCacheToRAM = true,
         Inputs = {
            Background = Input {
               SourceOp = "Renderer3D1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "AmbientOcclusion1",
               Source = "Output",
            },
            ApplyMode = Input { Value = FuID { "Overlay" }, },
            PerformDepthMerge = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 1516.06, 498 } },
      },
      Shape3D1 = Shape3D {
         Inputs = {
            Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 4, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            ["SurfaceCylinderInputs.ObjectID.ObjectID"] = Input { Value = 4, },
            ["SurfaceCubeInputs.Width"] = Input { Value = 0.333333333333333, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 5, }
         },
         ViewInfo = OperatorInfo { Pos = { 967, 615 } },
      },
      AmbientOcclusion1 = SSAO {
         Inputs = {
            NumberOfSamples = Input { Value = 1115, },
            KernelRadius = Input { Value = 0.157142857142857, },
            Lift = Input { Value = -0.342857142857143, },
            Gamma = Input { Value = 0.733333333333333, },
            Camera = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
            Input = Input {
               SourceOp = "Renderer3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1563, 455 } },
      },
      Ribbon3D1 = Ribbon3D {
         Inputs = {
            NumberOfLines = Input { Value = 1, },
            SubdivisionLevel = Input { Value = 4, },
            RibbonWidth = Input { Value = 0, },
            ["Start.X"] = Input { Value = -4.72983974421244, },
            ["Start.Z"] = Input { Value = -4.19565240189226, },
            ["End.X"] = Input { Value = 7.34300396826166, },
            ["End.Z"] = Input { Value = -3.74748393329084, },
            ["ObjectID.ObjectID"] = Input { Value = 2, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 3, },
         },
         ViewInfo = OperatorInfo { Pos = { 1152, 651 } },
      }
   }
}
__
--[[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
User avatar

Chad Capeland

  • Posts: 3017
  • Joined: Mon Nov 10, 2014 9:40 pm

Re: Why a single Polygon1 can be THAT slow

PostWed Apr 06, 2016 10:20 pm

Eugene Afanasiev wrote:Same here: the last merge is supposed to be Force cached but every time I select/deselect a tool the fast noise from the rusty metal node starts re-rendering - not even touching the parameters from the sGlow.



Works fine for me in both 7.7 and 8.
Chad Capeland
Indicated, LLC
www.floweffects.com
Offline
User avatar

Eugene Afanasiev

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

Re: Why a single Polygon1 can be THAT slow

PostWed Apr 06, 2016 10:37 pm

Ssory!

Never mind, stupid me...

I've messed up with the settings and totally forgot to check on that..
In the Preferences -> Memory I've set 0 % for no reason (probably I thought 0 == infinite but I totally forgot to check that and got distracted and left somewhere else...)

So both comps even with that hard-rendering Polygon1 mask when Force Cache is set after that mask are behaving themselves well!
__
--[[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: Hideki Inoue and 24 guests