Jump to: Board index » General » Fusion

Pre-Generate Frames not working

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

Čeněk Štrichel

  • Posts: 39
  • Joined: Mon Sep 23, 2013 5:50 pm

Pre-Generate Frames not working

PostThu Sep 20, 2018 5:52 pm

Hello, I am testing Fusion particles for my current project, but I have big trouble with Pre-Generate frames. I simply need particles emitted on zero frame. I expect that it is what Pre-Generate make (sometimes called Pre-roll). Several times it even works with Template, but only short time. Is it bug?

EDIT: I also tried same thing in Davinci with Smokestack template and same problem.

Code: Select all
{
   Tools = ordered() {
      Merge3D1 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "pRender1",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 2750, 940.5 } },
      },
      Camera3D1 = Camera3D {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = 0.421451312939431, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 0.720935507757479, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 2.32716513089873, },
            ["Transform3DOp.Rotate.X"] = Input { Value = 3.60000109672546, },
            ["Transform3DOp.Rotate.Y"] = Input { Value = -350.199981689453, },
            FLength = Input { Value = 18.2123442718302, },
            ["Stereo.Mode"] = Input { Value = FuID { "OffAxis" }, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 2, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 2530, 907.5 } },
      },
      Renderer3D1 = Renderer3D {
         CustomData = {
            ToolVersion = 1,
         },
         Inputs = {
            Width = Input { Value = 2048, },
            Height = Input { Value = 1556, },
            Depth = Input { Value = 3, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            SceneInput = Input {
               SourceOp = "Merge3D1",
               Source = "Output",
            },
            RendererType = Input { Value = FuID { "RendererOpenGL" }, },
            ["RendererOpenGL.Channels.Nest"] = Input { Value = 1, },
            ["RendererOpenGL.Channels.RGBASS"] = Input { Value = 1, },
            ["RendererOpenGL.Supersampling"] = Input { Value = 1, },
            ["RendererOpenGL.Texturing"] = Input { Value = 1, },
            ["RendererOpenGL.TextureDepth"] = Input { Value = 3, },
            ["RendererOpenGL.TransparencySorting"] = Input { Value = 1, },
            ["RendererOpenGL.ShadingModel"] = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 3135, 874.5 } },
      },
      pRender1 = pRender {
         Inputs = {
            _MotionBlurWarning = Input { Disabled = true, },
            Width = Input { Value = 2048, },
            Height = Input { Value = 1556, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            OutputMode = Input { Disabled = true, },
            IntegrationMethod = Input { Value = FuID { "RK4" }, },
            ["MaterialID.MaterialID"] = Input { Value = 1, },
            ["ObjectID.ObjectID"] = Input { Value = 1, },
            Input = Input {
               SourceOp = "pTurbulence1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 2585, 709.5 } },
      },
      pEmitter1 = pEmitter {
         ID = 3,
         Inputs = {
            Number = Input { Value = 3.3333333, },
            Lifespan = Input { Value = 180.952381, },
            LifespanVariance = Input { Value = 33.8095238, },
            VelocityControls = Input { Value = 1, },
            Angle = Input { Value = 90, },
            InheritVelocity = Input { Value = -2, },
            Style = Input { Value = FuID { "ParticleStyleBitmap" }, },
            ["ParticleStyle.ColorControls"] = Input { Value = 1, },
            ["ParticleStyle.Red"] = Input { Value = 0.74, },
            ["ParticleStyle.Green"] = Input { Value = 0.74, },
            ["ParticleStyle.Blue"] = Input { Value = 0.74, },
            ["ParticleStyle.ColorVariance"] = Input { Value = 1, },
            ["ParticleStyle.GreenLow"] = Input { Value = -0.0133333, },
            ["ParticleStyle.GreenHigh"] = Input { Value = 0.0133333, },
            ["ParticleStyle.BlueLow"] = Input { Value = -0.0266667, },
            ["ParticleStyle.BlueHigh"] = Input { Value = 0.0133333, },
            ["ParticleStyle.AlphaLow"] = Input { Value = -0.5333333, },
            ["ParticleStyle.AlphaHigh"] = Input { Value = 0.24, },
            ["ParticleStyle.LockColorVariance"] = Input { Value = 0, },
            ["ParticleStyle.ColorOverLifeControls"] = Input { Value = 1, },
            ["ParticleStyle.ColorOverLife"] = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0.54, 0.54, 0.54, 1 },
                     [1] = { 0, 0, 0, 1 }
                  }
               },
            },
            ["ParticleStyle.SizeControls"] = Input { Value = 1, },
            ["ParticleStyle.Size"] = Input { Value = 1.05, },
            ["ParticleStyle.SizeOverLife"] = Input {
               SourceOp = "pEmitter1SizeoverLife",
               Source = "Value",
            },
            ["ParticleStyle.FadeControls"] = Input { Value = 1, },
            ["ParticleStyle.FadeOut"] = Input { Value = 0.06875, },
            ["ParticleStyle.BlurOverLife"] = Input {
               SourceOp = "pEmitter1BluroverLife2D",
               Source = "Value",
            },
            ["ParticleStyleBitmap.Animate"] = Input { Value = 2, },
            ["ParticleStyleBitmap.DropToolsHere"] = Input {
               SourceOp = "BrightnessContrast1",
               Source = "Output",
            },
            ["SphereRgn.Size"] = Input { Value = 0.0238095, }
         },
         ViewInfo = OperatorInfo { Pos = { 2035, 709.5 } },
      },
      pEmitter1SizeoverLife = LUTBezier {
         KeyColorSplines = {
            [0] = {
               [0.00371747211895911] = { 0.0113548387096775, RH = { 0.492375084741974, 0.0692550257007599 }, Flags = { Linear = true } },
               [1] = { 0.919354838709677, LH = { 0.762908717062377, 0.830153771988154 } }
            }
         },
         SplineColor = { Red = 192, Green = 128, Blue = 64 },
      },
      pEmitter1BluroverLife2D = LUTBezier {
         KeyColorSplines = {
            [0] = {
               [0] = { 0.5, RH = { 0.333333333333333, 0.5 }, Flags = { Linear = true } },
               [1] = { 0.5, LH = { 0.666666666666667, 0.5 }, Flags = { Linear = true } }
            }
         },
         SplineColor = { Red = 192, Green = 128, Blue = 64 },
      },
      pDirectionalForce1_1 = pDirectionalForce {
         ID = 9,
         Inputs = {
            Strength = Input { Value = 0.0419048, },
            Input = Input {
               SourceOp = "pDirectionalForce1",
               Source = "Output",
            },
            Probability = Input { Value = 0.752381, },
            StartAge = Input { Value = 0.4588235, },
         },
         ViewInfo = OperatorInfo { Pos = { 2255, 709.5 } },
      },
      pDirectionalForce1 = pDirectionalForce {
         ID = 6,
         Inputs = {
            Strength = Input { Value = 0.0419048, },
            Direction = Input { Value = 90, },
            Input = Input {
               SourceOp = "pEmitter1",
               Source = "Output",
            },
            Probability = Input { Value = 0.752381, },
         },
         ViewInfo = OperatorInfo { Pos = { 2145, 709.5 } },
      },
      pTurbulence1 = pTurbulence {
         ID = 10,
         CtrlWZoom = false,
         Inputs = {
            XStrength = Input { Value = 1, },
            ZStrength = Input { Value = 1, },
            StrengthOverLife = Input { Value = 1, },
            StrengthOverLifeLUT = Input {
               SourceOp = "pTurbulence1StrengthoverLifeLUT",
               Source = "Value",
            },
            Density = Input { Value = 5.2380952, },
            Input = Input {
               SourceOp = "pDirectionalForce1_1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 2365, 709.5 } },
      },
      pTurbulence1StrengthoverLifeLUT = LUTBezier {
         KeyColorSplines = {
            [0] = {
               [0] = { 0.0645161290322584, RH = { 0.0792889745968726, 0.126686056829407 }, Flags = { Linear = true } },
               [0.237866923790618] = { 0.329726694074164, LH = { 0.158585878122681, 0.315394300737689 }, RH = { 0.311502589478341, 0.343038518045937 } },
               [0.459635396971336] = { 0.171450205621437, LH = { 0.385483415724496, 0.215999050804633 }, RH = { 0.613502715528376, 0.0790101758623785 } },
               [0.921933085501858] = { 0, LH = { 0.7680716092516, 0.0210016043360813 } }
            }
         },
         SplineColor = { Red = 192, Green = 128, Blue = 64 },
         NameSet = true,
      },
      BrightnessContrast1 = BrightnessContrast {
         Inputs = {
            Gain = Input { Value = 1.8380952, },
            Input = Input {
               SourceOp = "FastNoise1",
               Source = "Output",
            },
            EffectMask = Input {
               SourceOp = "Rectangle1",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 2090, 511.5 } },
      },
      FastNoise1 = FastNoise {
         Inputs = {
            Width = Input { Value = 100, },
            Height = Input { Value = 100, },
            Depth = Input { Value = 3, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Center = Input { Value = { 0.497690531177829, 0.5 }, },
            Detail = Input {
               SourceOp = "Shake1",
               Source = "X",
            },
            XScale = Input { Value = 2.5714286, },
            Seethe = Input { Value = 0.3269231, },
            SeetheRate = Input { Value = 1, },
            Type = Input { Value = 1, },
            GradientType = Input { Value = 5, },
            Start = Input { Value = { 0.5, 0.5 }, },
            End = Input { Value = { 0.187466616455229, 0.736146069099584 }, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 1, 1, 1, 1 },
                     [1] = { 0, 0, 0, 0 }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1980, 511.5 } },
      },
      Shake1 = Shake {
         CtrlWZoom = false,
         Inputs = {
            XMinimum = Input { Value = 2, },
            XMaximum = Input { Value = 3, },
         },
      },
      Rectangle1 = RectangleMask {
         Inputs = {
            SoftEdge = Input { Value = 0.2, },
            MaskWidth = Input { Value = 2048, },
            MaskHeight = Input { Value = 1556, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Center = Input { Value = { 0.998659517426273, 0.5 }, },
            Width = Input { Value = 0.987935656836461, },
            Height = Input { Value = 1.64745308310992, },
         },
         ViewInfo = OperatorInfo { Pos = { 2090, 478.5 } },
      }
   }
}
Attachments
pregenerate.gif
pregenerate.gif (889.89 KiB) Viewed 1334 times
Last edited by Čeněk Štrichel on Thu Sep 20, 2018 5:59 pm, edited 1 time in total.
Offline

Ryan Hays

  • Posts: 19
  • Joined: Mon Jul 20, 2015 5:40 pm

Re: Pre-Generate Frames not working

PostThu Sep 20, 2018 5:57 pm

Change your Global Start time to a negative number: -(preroll)
Lower left corner of the interface.
Offline

Čeněk Štrichel

  • Posts: 39
  • Joined: Mon Sep 23, 2013 5:50 pm

Re: Pre-Generate Frames not working

PostThu Sep 20, 2018 6:03 pm

Ryan Hays wrote:Change your Global Start time to a negative number: -(preroll)
Lower left corner of the interface.


Wow, how easy! :) thanks. I tried change "Global In" in pRender, but never in Global Start time.
Offline

Čeněk Štrichel

  • Posts: 39
  • Joined: Mon Sep 23, 2013 5:50 pm

Re: Pre-Generate Frames not working

PostFri Sep 21, 2018 11:41 am

I also noted, when I set Global Start to -100 it works even without Pre-Generate Frames options. I have set it on zero now. So what Pre-Generate Frames do? From manual I see that it work as pre-roll, but it doesn't ... so it really looks like bug.

Return to Fusion

Who is online

Users browsing this forum: Sam Steti and 39 guests