Page 1 of 1

Please help - Artifacts in blob particle render

PostPosted: Thu May 05, 2016 6:19 am
by Wolfgang Baer
Hi,

I am trying a simple particle setup (style type is blob). Unfortunately I get strange artifacts where the individual particles overlap each other. Whatever setting I change it does not go away.

Particle-Artifact.png
Particle-Artifact.png (672.63 KiB) Viewed 1220 times


Does anybody have an idea what I might do wrong here?

I tested in Fusion 8 and 7 on Windows 10.
Above is a screenshot.
Attached is the bitmap I use as reagion for the pEmiter (might look empty in the preview).

Code: Select all
{
   Tools = ordered() {
      Loader2 = Loader {
         Clips = {
            Clip {
               ID = "Clip1",
               Filename = "I:\\D\\work_Private\\DevOps\\Himmel\\HeadsMask.png",
               FormatID = "PNGFormat",
               StartFrame = -1,
               LengthSetManually = true,
               TrimIn = 0,
               TrimOut = 0,
               ExtendFirst = 0,
               ExtendLast = 0,
               Loop = 0,
               AspectMode = 0,
               Depth = 0,
               TimeCode = 0,
               GlobalStart = 0,
               GlobalEnd = 0
            }
         },
         CtrlWZoom = false,
         Inputs = {
            ["Gamut.ColorSpaceNest"] = Input { Value = 1, },
            ["Gamut.ColorType"] = Input { Value = FuID { "Space" }, },
            ["Gamut.ColorSpace"] = Input { Value = FuID { "sRGB" }, },
            ["Gamut.GammaSpaceNest"] = Input { Value = 1, },
            ["Gamut.GammaType"] = Input { Value = FuID { "Space" }, },
            ["Gamut.GammaSpace"] = Input { Value = FuID { "sRGB" }, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
         },
         ViewInfo = OperatorInfo { Pos = { 792.924, 177.773 } },
      },
      pDirectionalForce1 = pDirectionalForce {
         ID = 67,
         Inputs = {
            Strength = Input { Value = 0.0139130434782609, },
            Direction = Input { Value = 0, },
            Input = Input {
               SourceOp = "pTurbulence1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1030.82, 231.739 } },
      },
      pTurbulence1 = pTurbulence {
         ID = 37,
         Inputs = {
            XStrength = Input { Value = 0.380952380952381, },
            StrengthOverLife = Input { Value = 1, },
            StrengthOverLifeLUT = Input {
               SourceOp = "pTurbulence1StrengthoverLifeLUT",
               Source = "Value",
            },
            Input = Input {
               SourceOp = "pEmitter1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 911.911, 230.997 } },
      },
      pTurbulence1StrengthoverLifeLUT = LUTBezier {
         KeyColorSplines = {
            [0] = {
               [0] = { 0.129032258064516, RH = { 0.330759330759331, 0.129032258064516 }, Flags = { Linear = true } },
               [0.992277992277993] = { 0.129032258064516, LH = { 0.661518661518662, 0.129032258064516 }, Flags = { Linear = true } }
            }
         },
         SplineColor = { Red = 192, Green = 128, Blue = 64 },
         NameSet = true,
      },
      pEmitter1 = pEmitter {
         ID = 2,
         Inputs = {
            Number = Input { Value = 60, },
            Lifespan = Input { Value = 25, },
            PositionVariance = Input { Value = 0.00608695652173913, },
            VelocityControls = Input { Value = 1, },
            Velocity = Input { Value = 0.0285714285714286, },
            VelocityVariance = Input { Value = 0.0428571428571429, },
            Angle = Input { Value = 360, },
            Rotation = Input { Value = 1, },
            Style = Input { Value = FuID { "ParticleStyleBlob" }, },
            Region = Input { Value = FuID { "BitmapRgn" }, },
            ["ParticleStyle.ColorControls"] = Input { Value = 1, },
            ["ParticleStyle.Red"] = Input { Value = 0.909803921568627, },
            ["ParticleStyle.Green"] = Input { Value = 0.941176470588235, },
            ["ParticleStyle.Blue"] = Input { Value = 0.976470588235294, },
            ["ParticleStyle.Alpha"] = Input { Value = 0.941176470588235, },
            ["ParticleStyle.ColorVariance"] = Input { Value = 1, },
            ["ParticleStyle.ColorOverLifeControls"] = Input { Value = 1, },
            ["ParticleStyle.ColorOverLife"] = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0.15, 0.15, 0.15, 0.15 }
                  }
               },
            },
            ["ParticleStyle.SizeControls"] = Input { Value = 1, },
            ["ParticleStyle.Size"] = Input { Value = 0.07, },
            ["ParticleStyle.SizeVariance"] = Input { Value = 0.0357142857142857, },
            ["ParticleStyle.SizeOverLife"] = Input {
               SourceOp = "pEmitter1SizeoverLife",
               Source = "Value",
            },
            ["ParticleStyle.FadeControls"] = Input { Value = 1, },
            ["ParticleStyle.MergeControls"] = Input { Value = 1, },
            ["ParticleStyle.BlurOverLife"] = Input {
               SourceOp = "pEmitter1BluroverLife2D",
               Source = "Value",
            },
            ["BitmapRgn.Bitmap"] = Input {
               SourceOp = "Loader2",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 793.47, 230.516 } },
      },
      pEmitter1SizeoverLife = LUTBezier {
         KeyColorSplines = {
            [0] = {
               [0.0135449994802213] = { 0.496115834070298, RH = { 0.619336998734541, 0.186774565131375 }, Flags = { Linear = true } },
               [1] = { 0, LH = { 0.982202664625106, 0.0338621749955864 } }
            }
         },
         SplineColor = { Red = 192, Green = 128, Blue = 64 },
         NameSet = true,
      },
      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 },
         NameSet = true,
      },
      pRender1 = pRender {
         Inputs = {
            ["_MotionBlurWarning"] = Input { Disabled = true, },
            GlobalOut = Input { Value = 100, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            OutputMode = Input { Disabled = true, },
            IntegrationMethod = Input { Value = FuID { "RK4" }, },
            ["MaterialID.Nest"] = Input { Value = 1, },
            ["MaterialID.MaterialID"] = Input { Value = 1, },
            ["ObjectID.Nest"] = Input { Value = 1, },
            ["ObjectID.ObjectID"] = Input { Value = 1, },
            Input = Input {
               SourceOp = "pDirectionalForce1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1151.21, 231.288 } },
      },
      Transform3D1 = Transform3D {
         Inputs = {
            SceneInput = Input {
               SourceOp = "pRender1",
               Source = "Output",
            },
            ["Transform3DOp.Translate.X"] = Input { Value = -0.0227119484703126, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 0.350365937634077, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 0.43194901797032, },
            ["Transform3DOp.Rotate.X"] = Input { Value = 66.7185613601469, },
            ["Transform3DOp.Scale.X"] = Input { Value = 1.58765622339693, },
            ["Transform3DOp.Scale.Y"] = Input { Value = 1.58765622339693, },
            ["Transform3DOp.Scale.Z"] = Input { Value = 1.58765622339693, },
         },
         ViewInfo = OperatorInfo { Pos = { 1276.8, 231.742 } },
      },
      Merge3D2 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "Transform3D1",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1400.32, 231.738 } },
      },
      Camera3D1 = Camera3D {
         Inputs = {
            ["Transform3DOp.Translate.Y"] = Input { Value = -0.164379282788399, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 3.74133425733745, },
            ["Transform3DOp.Rotate.X"] = Input { Value = 4.12878346582875, },
            AovType = Input { Value = 2, },
            FLength = Input { Value = 29.2505860166389, },
            ["Stereo.Mode"] = Input { Value = FuID { "OffAxis" }, },
            FilmGate = Input { Value = FuID { "BMD_URSA_4K_16x9" }, },
            ApertureW = Input { Value = 0.831496062992126, },
            ApertureH = Input { Value = 0.467716535433071, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 2, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 1401.06, 176.069 } },
      },
      Renderer3D1 = Renderer3D {
         Inputs = {
            ["RendererOpenGL.Texturing"] = Input { Value = 1, },
            ["RendererOpenGL.Supersampling"] = Input { Value = 1, },
            ["RendererOpenGLUV.LightingEnabled"] = Input { Value = 1, },
            ["RendererOpenGLUV.ShadowsEnabled"] = Input { Value = 1, },
            GlobalOut = Input { Value = 100, },
            Width = Input { Value = 3264, },
            Height = Input { Value = 1836, },
            ["Gamut.GammaSpaceNest"] = Input { Value = 1, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            SceneInput = Input {
               SourceOp = "Merge3D2",
               Source = "Output",
            },
            CameraSelector = Input { Value = FuID { "Camera3D1" }, },
            Reporting = Input { Value = 1, },
            ["RendererSoftware.Channels.Nest"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 1525.91, 232.372 } },
      }
   },
   ActiveTool = "Loader2"
}

Re: Please help - Artifacts in blob particle render

PostPosted: Thu May 05, 2016 6:36 am
by Sander de Regt
You probably need to change the depth sorting option in the pRender to make this go away.

Re: Please help - Artifacts in blob particle render

PostPosted: Thu May 05, 2016 10:26 am
by Wolfgang Baer
Many thanks Snader,

you showed me the right way. There is no depth sorting in the pRender, but there is one in the Renderer3D at the end of the chain. It became available after I switched to OpenGL Renderer. I could not find any setting like that while in Software Renderer mode. Now with OpenGL and sorting set to "Sorted (accurate)" the artifacts are gone.

Sorry for another non professional question. Is the software renderer in Fusion not meant to be used for final output?