Jump to: Board index » General » Fusion

Particles not rendering

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

Floods

  • Posts: 5
  • Joined: Sun Feb 17, 2019 7:35 pm
  • Real Name: Lucas Robertson

Particles not rendering

PostSun Feb 17, 2019 7:39 pm

I'm new to DaVinci Resolve and so I followed the series of tutorials Black Magic put up on YouTube to attempt to get more familiar with everything. When I tried to follow along with their tutorial for 3D VFX in fusion I saw that, contrary to what happened in the tutorial, my particles were not being rendered by the 3D render node. Could anyone help me fix this please?
Offline
User avatar

Bryan Ray

  • Posts: 2478
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: Particles not rendering

PostMon Feb 18, 2019 5:58 am

Not without seeing what you're doing...

But on the off-chance that shooting in the dark helps you, there are five mandatory nodes for 3d particles:

First, you need the pEmitter node. This creates the particles and determines what they look like.
Second, you need a pRender node. This collects the information about the particles and creates either a raster (2d particles) or a 3d scene (3d particles).
Third, you need a Render3D node. This translates the 3d data into a 2d raster.
Fourth, you need a Camera3D to 'photograph' the particles.
Fifth, you need a Merge3D to combine the particles' scene data with the camera's scene data.

It's a little counter-intuitive, but you do need both of those render nodes for it to work.

Here's a quick scene that shows how it's set up. Except for the Camera, all controls are at their defaults, so the result is very boring. The Camera has been moved back so that the particles are in frame—everything defaults to being at the origin, which puts all of the particles inside the near clip range and therefore makes them invisible.

Just copy this code and paste it into the Fusion page Flow view; the nodes will appear. When you view and play the Renderer3D node, you should see tiny white specks appear (if you're looking at the transparent checker background, you might need to turn it off to be able to see them—they're quite small).


Code: Select all

{
   Tools = ordered() {
      pEmitter1 = pEmitter {
         ID = 2,
         Inputs = {
            ["ParticleStyle.SizeOverLife"] = Input {
               SourceOp = "pEmitter1SizeoverLife",
               Source = "Value",
            },
            ["ParticleStyle.BlurOverLife"] = Input {
               SourceOp = "pEmitter1BluroverLife2D",
               Source = "Value",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 330, 280.5 } },
      },
      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 = 0, Green = 0, Blue = 0 },
         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 = 0, Green = 0, Blue = 0 },
         NameSet = true,
      },
      pRender1 = pRender {
         Inputs = {
            _MotionBlurWarning = Input { Disabled = true, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["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 = "pEmitter1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 495, 280.5 } },
      },
      Camera3D1 = Camera3D {
         CtrlWZoom = false,
         Inputs = {
            ["Transform3DOp.Translate.Z"] = Input { Value = 0.25, },
            AoV = Input { Value = 19.2642683071402, },
            ["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 = { 495, 313.5 } },
      },
      Merge3D1 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "pRender1",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 605, 313.5 } },
      },
      Renderer3D1 = Renderer3D {
         CustomData = {
            ToolVersion = 2,
         },
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            SceneInput = Input {
               SourceOp = "Merge3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 715, 313.5 } },
      }
   }
}





Once you have verified that this works, you can move on to doing something more interesting with it.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

Floods

  • Posts: 5
  • Joined: Sun Feb 17, 2019 7:35 pm
  • Real Name: Lucas Robertson

Re: Particles not rendering

PostMon Feb 18, 2019 9:26 am

The two attachments are screenshots of my nodes. Hope this helps.
Attachments
Resolve_2019-02-18_10-24-54.png
Resolve_2019-02-18_10-24-54.png (26.01 KiB) Viewed 2546 times
Resolve_2019-02-18_10-23-57.png
Resolve_2019-02-18_10-23-57.png (17 KiB) Viewed 2546 times
Offline

Ashley Thomas

  • Posts: 84
  • Joined: Sat May 04, 2019 4:11 am
  • Real Name: Ashley Thomas

Re: Particles not rendering

PostThu Dec 26, 2019 7:34 pm

+1 for me... I'm seeing the same issue at 26:36 into the "DaVinci Resolve 15 - Fusion VFX in 3D" YouTube tutorial video...
Code: Select all
https://youtu.be/vU85RMbrPd4?list=PL8_n1FrGAbeaV5-k5gQiD6kaDp_OgNLb1&t=1595

My workaround is further below.

I'm on DR 16.1.2.026 while tutorial is DR 15.

Everything worked fine to this point, then...

I add Renderer3D node ... I see that the tutorial video has black background in the view, while in my project I see a checkered transparent background. I seem to fix this by right-clicking in the view, choosing Options, then unchecking Checker Underlay. Even though I then see a black background matching tutorial, I still don't see particles.

If I increase the viewer Gamma, I can see them. Then I turn off the Gamma adjustment and resume trying to find a fix in the node pipeline...

I finally went to the pEmitter Style / Color section. The settings there seemed odd because it seems like the color is white, but when expanding, I see Hue is 0.5 and value for each is 1.0. When I crease the value of each color to something like 10, particles become very bright. Hue doesn't seem to matter given chosen color so I set it to 0 fwiw.

I'm wondering if there's been some unexpected change from DR 15 to 16 to the pEmitter color controls such that the tutorial might be non-matching at this point. Would be great if YouTube tutorial Description could be updated with any DR 16 extra steps in case anyone else happens across this.

I see another thread similar to this thread... I bet the Color would offer the same workaround there.

Thanks.
Offline
User avatar

Bryan Ray

  • Posts: 2478
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: Particles not rendering

PostThu Dec 26, 2019 8:20 pm

I commented in the other thread you linked, so I won't repeat myself here. But I thought I'd offer some enlightenment regarding the Hue slider:

The Color controls you see are a little confusing because they're actually showing you two different color models: HSV (Hue, Saturation, Value) and RGB (Red, Green, Blue)

In the HSV Color model, a change in Hue is only detectable if Saturation is greater than 0. Saturation only increases if the three RGB channels are different. If you increase the Saturation contorl, you'll see the RGB values change in response. Once you can see some color in the points, then the Hue control will do something.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

Ashley Thomas

  • Posts: 84
  • Joined: Sat May 04, 2019 4:11 am
  • Real Name: Ashley Thomas

Re: Particles not rendering

PostSun Dec 29, 2019 2:07 am

Bryan Ray wrote:The Color controls ... they're actually showing you two different color models: HSV (Hue, Saturation, Value) and RGB (Red, Green, Blue) ...

Thanks for pointing that out.

Return to Fusion

Who is online

Users browsing this forum: No registered users and 35 guests