Jump to: Board index » General » Fusion

how does Pspawn work?

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

Edwin Rivera

  • Posts: 160
  • Joined: Wed Aug 03, 2016 4:53 pm

how does Pspawn work?

PostSun Nov 27, 2016 2:28 am

Hi guys,

I've been trying to make an explotion (Fireworks or any explotion really) but im so frustrated cuz i can't understand this

i have watched several tutorials, read the guide but it's really vague, I try it out myself and failed cause im confused of the mechanics

if anyone knows something please oh please let me know

i realy want to learn how particles work

please and thank you
Offline
User avatar

Yuri V. Nemets

  • Posts: 122
  • Joined: Mon Dec 08, 2014 10:41 am
  • Location: Ukraine, Kyiv

Re: how does Pspawn work?

PostSun Nov 27, 2016 8:20 pm

Turn off MB for quick render.

Code: Select all
{
   Tools = ordered() {
      Renderer3D1 = Renderer3D {
         CtrlWZoom = false,
         Inputs = {
            MotionBlur = Input { Value = 1, },
            Quality = Input { Value = 5, },
            GlobalOut = Input { Value = 150, },
            Width = Input { Value = 1280, },
            Height = Input { Value = 720, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
            SceneInput = Input {
               SourceOp = "Merge3D1",
               Source = "Output",
            },
            RendererType = Input { Value = FuID { "RendererOpenGL", }, },
         },
         ViewInfo = OperatorInfo { Pos = { 1320, 313.5, }, },
      },
      Merge3D1 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "pRender1",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Transform3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1210, 313.5, }, },
      },
      Transform3D1 = Transform3D {
         Inputs = {
            SceneInput = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
            ["Transform3DOp.Rotate.Y"] = Input {
               SourceOp = "Transform3D1YRotation",
               Source = "Value",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1045, 313.5, }, },
      },
      Transform3D1YRotation = BezierSpline {
         SplineColor = { Red = 128, Green = 255, Blue = 128, },
         NameSet = true,
         KeyFrames = {
            [70] = { 0, RH = { 96.6666666666667, 0, }, },
            [150] = { -360, LH = { 123.333333333333, -360, }, },
         },
      },
      pRender1 = pRender {
         Inputs = {
            MotionBlur = Input { Value = 1, },
            ["_MotionBlurWarning"] = Input { Disabled = true, },
            GlobalOut = Input { Value = 150, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
            OutputMode = Input { Disabled = true, },
            IntegrationMethod = Input { Value = FuID { "RK4", }, },
            SubFrameCalculationAccuracy = Input { Value = 4, },
            ["MaterialID.MaterialID"] = Input { Value = 1, },
            ["ObjectID.ObjectID"] = Input { Value = 1, },
            Input = Input {
               SourceOp = "pDirectionalForce1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1210, 214.5, }, },
      },
      pKill1 = pKill {
         ID = 11,
         Inputs = {
            Input = Input {
               SourceOp = "pSpawn1",
               Source = "Output",
            },
            StartAge = Input { Value = 0.5, },
            SetMode = Input { Value = FuID { "DontAffect", }, },
            Set1 = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 990, 214.5, }, },
      },
      pDirectionalForce1 = pDirectionalForce {
         ID = 12,
         Inputs = {
            Input = Input {
               SourceOp = "pKill1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1100, 214.5, }, },
      },
      Camera3D1 = Camera3D {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = -0.592605568344232, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 0.80094305450301, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 2.08874633535367, },
            ["Transform3DOp.Rotate.X"] = Input { Value = -3.40000057220459, },
            ["Transform3DOp.Rotate.Y"] = Input { Value = -14.8000001907349, },
            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 = { 935, 313.5, }, },
      },
      pSpawn1 = pSpawn {
         ID = 5,
         Inputs = {
            RandomSeed = Input { Value = 13732, },
            Number = Input { Value = 100, },
            Lifespan = Input { Value = 20, },
            LifespanVariance = Input { Value = 50, },
            VelocityControls = Input { Value = 1, },
            Velocity = Input { Value = 0.295, },
            VelocityVariance = Input { Value = 0.31, },
            AngleVariance = Input { Value = 360, },
            AngleZVariance = Input { Value = 360, },
            NewSet2 = Input { Value = 1, },
            Input = Input {
               SourceOp = "pEmitter1",
               Source = "Output",
            },
            Style = Input { Value = FuID { "ParticleStyleNGon", }, },
            StartAge = Input { Value = 0.49, },
            ["ParticleStyle.ColorControls"] = Input { Value = 1, },
            ["ParticleStyle.Green"] = Input { Value = 0.558139534883721, },
            ["ParticleStyle.Blue"] = Input { Value = 0.286821705426357, },
            ["ParticleStyle.ColorVariance"] = Input { Value = 1, },
            ["ParticleStyle.RedLow"] = Input { Value = -0.4933333, },
            ["ParticleStyle.RedHigh"] = Input { Value = 0.4133333, },
            ["ParticleStyle.GreenLow"] = Input { Value = -0.2533333, },
            ["ParticleStyle.GreenHigh"] = Input { Value = 0.2533333, },
            ["ParticleStyle.BlueLow"] = Input { Value = -0.4533333, },
            ["ParticleStyle.BlueHigh"] = Input { Value = 0.32, },
            ["ParticleStyle.LockColorVariance"] = Input { Value = 0, },
            ["ParticleStyle.ColorOverLifeControls"] = Input { Value = 1, },
            ["ParticleStyle.ColorOverLife"] = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 1, 1, 1, 1, },
                     [1] = { 1, 1, 1, 0, },
                  },
               },
            },
            ["ParticleStyle.SizeControls"] = Input { Value = 1, },
            ["ParticleStyle.Size"] = Input { Value = 0.015, },
            ["ParticleStyle.SizeVariance"] = Input { Value = 0.0175, },
            ["ParticleStyle.SizeOverLife"] = Input {
               SourceOp = "pSpawn1SizeoverLife",
               Source = "Value",
            },
            ["ParticleStyle.BlurOverLife"] = Input {
               SourceOp = "pSpawn1BluroverLife2D",
               Source = "Value",
            },
            ["ParticleStylePoint.SubPixelRendered"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 880, 214.5, }, },
      },
      pSpawn1SizeoverLife = LUTBezier {
         KeyColorSplines = {
            [0] = {
               [0] = { 0.5, RH = { 0.3, 0.5, }, Flags = { Linear = true, }, },
               [1] = { 0.5, LH = { 0.7, 0.5, }, Flags = { Linear = true, }, },
            },
         },
         SplineColor = { Red = 192, Green = 128, Blue = 64, },
         NameSet = true,
      },
      pSpawn1BluroverLife2D = LUTBezier {
         KeyColorSplines = {
            [0] = {
               [0] = { 0.5, RH = { 0.3, 0.5, }, Flags = { Linear = true, }, },
               [1] = { 0.5, LH = { 0.7, 0.5, }, Flags = { Linear = true, }, },
            },
         },
         SplineColor = { Red = 192, Green = 128, Blue = 64, },
         NameSet = true,
      },
      pEmitter1 = pEmitter {
         ID = 1,
         Inputs = {
            Number = Input {
               SourceOp = "pEmitter1Number",
               Source = "Value",
            },
            VelocityControls = Input { Value = 1, },
            Velocity = Input { Value = 0.465, },
            Angle = Input { Value = 90, },
            AngleVariance = Input { Value = 60, },
            Set1 = Input { Value = 1, },
            Style = Input { Value = FuID { "ParticleStyleNGon", }, },
            ["ParticleStyle.ColorOverLife"] = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 1, 1, 1, 1, },
                  },
               },
            },
            ["ParticleStyle.SizeControls"] = Input { Value = 1, },
            ["ParticleStyle.Size"] = Input { Value = 0.01, },
            ["ParticleStyle.SizeOverLife"] = Input {
               SourceOp = "pEmitter1SizeoverLife",
               Source = "Value",
            },
            ["ParticleStyle.BlurOverLife"] = Input {
               SourceOp = "pEmitter1BluroverLife2D",
               Source = "Value",
            },
            ["ParticleStyleNGon.NGonType"] = Input { Value = 6, },
         },
         ViewInfo = OperatorInfo { Pos = { 770, 214.5, }, },
      },
      pEmitter1Number = BezierSpline {
         SplineColor = { Red = 233, Green = 206, Blue = 78, },
         NameSet = true,
         KeyFrames = {
            [0] = { 0.2, RH = { 16.6666666666667, 0.166666666666667, }, Flags = { Linear = true, }, },
            [50] = { 0.1, LH = { 33.3333333333333, 0.133333333333333, }, RH = { 50.3333333333333, 0.0666666666666667, }, Flags = { Linear = true, }, },
            [51] = { 0, LH = { 50.6666666666667, 0.0333333333333333, }, Flags = { Linear = true, }, },
         },
      },
      pEmitter1SizeoverLife = LUTBezier {
         KeyColorSplines = {
            [0] = {
               [0] = { 0.5, RH = { 0.3, 0.5, }, Flags = { Linear = true, }, },
               [1] = { 0.5, LH = { 0.7, 0.5, }, Flags = { Linear = true, }, },
            },
         },
         SplineColor = { Red = 192, Green = 128, Blue = 64, },
         NameSet = true,
      },
      pEmitter1BluroverLife2D = LUTBezier {
         KeyColorSplines = {
            [0] = {
               [0] = { 0.5, RH = { 0.3, 0.5, }, Flags = { Linear = true, }, },
               [1] = { 0.5, LH = { 0.7, 0.5, }, Flags = { Linear = true, }, },
            },
         },
         SplineColor = { Red = 192, Green = 128, Blue = 64, },
         NameSet = true,
      },
   },
}

Return to Fusion

Who is online

Users browsing this forum: No registered users and 74 guests