DR 17.2.2 DRFX Bundled Assets not working

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline
User avatar

malbred

  • Posts: 7
  • Joined: Thu Jun 17, 2021 8:10 pm
  • Real Name: Aleksey Korneev

DR 17.2.2 DRFX Bundled Assets not working

PostSun Aug 01, 2021 4:22 pm

Davinci Resolve 17.2.2 build 4

The document (C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Developer\Fusion Templates\README.txt) contains information

...
Bundled Assets
--------------
As of 17.2, Resolve allows various asset files to be included and used with your template. This includes image files of some supported formats (PNG, JPG, EXR, TGA, BMP) for logos, watermarks, particles etc, 3D objects and cameras in an FBX file, and LUTs. These can be used with Fusion tools including Loader, FBX Mesh 3D, and File LUT. For ease of portability and user installation, the new "Setting:" path map has been provided, which is valid inside templates and other macros & tool groups that have been loaded from a .setting file, and points to the same folder that the .setting file is in.
For example, a Loader set to "Setting:leaf.jpg" could provide an image source for a particle system, so long as the leaf.jpg file was in the same folder as the template .setting file containing the Loader, or an FBX Mesh tool could use "Setting:Models/object.fbx" to get an object from a Models subfolder.
...


I want to test it. What am I doing?

1) Create a simple example.

2) Chance FBXLoader path from "T:\TT\3ds\a.fbx" to "setting:3ds\a.fbx"

3) Create a macro with this nodes and one output. Save macro to "t:\TT\gen.setting"
PIC_002.jpeg
PIC_002.jpeg (370.99 KiB) Viewed 1560 times


4) Create 3 folders: "t:\TT\Edit" , "t:\TT\Edit\Generators" , "t:\TT\Edit\Generators\3ds"

5) Copy gen.setting to "t:\TT\Edit\Generators\", a.fbx to "t:\TT\Edit\Generators\3ds\"

Now file sctucture is:
Code: Select all
[Edit]
      [Generators]
            gen.setting
            [3ds]
                  a.fbx


6) Zip "Edit" folder to gen.zip. Rename gen.zip to gen.drfx. Restart Resolve with new project.

7) Create new timeline and fusion composition in edit page.
PIC_003.jpeg
PIC_003.jpeg (278.42 KiB) Viewed 1560 times


8) Go to fusion page, drop and install into fusion page file gen.drfx.

*****************************
*****************************

After that, I see this error.
PIC_004.jpeg
PIC_004.jpeg (253.22 KiB) Viewed 1560 times

FBXMesh3D1_1: Failed to import setting:3ds\a.fbx
( c:\Users\malbred\AppData\Roaming\Blackmagic Design\DaVinci Resolve\Support\Fusion\Templates\gen.drfx\Edit\Generators\3ds\a.fbx )


In console FBX Error: "The file setting:3ds\a.fbx could not be found!" while importing file setting:3ds\a.fbx
Merge3D1 cannot get SceneInput2 at time 0
Renderer3D1_1 cannot get Parameter for SceneInput at time 0
Renderer3D1_1 failed at time 0


Where is my mistake?
Offline
User avatar

malbred

  • Posts: 7
  • Joined: Thu Jun 17, 2021 8:10 pm
  • Real Name: Aleksey Korneev

Re: DR 17.2.2 DRFX Bundled Assets not working

PostTue Aug 03, 2021 4:30 pm

any solution?
Offline

bounceHouse

  • Posts: 366
  • Joined: Tue Apr 14, 2020 12:40 am
  • Real Name: Wesley McDermott

Re: DR 17.2.2 DRFX Bundled Assets not working

PostWed Aug 04, 2021 12:37 am

If you have the paid version, this may be a good one to reach out to the tech support folks by email.
PC Win 10 Pro, 64GB ram; NVidia 522.30; dual monitor; RTX 3080 (10GB); auto/CUDA processing mode; SSD cache, separate SSD for data; Davinci Studio 18.6.6 build
Offline
User avatar

malbred

  • Posts: 7
  • Joined: Thu Jun 17, 2021 8:10 pm
  • Real Name: Aleksey Korneev

Re: DR 17.2.2 DRFX Bundled Assets not working

PostFri Aug 06, 2021 7:51 am

If not paid?
Offline
User avatar

Charles Bennett

  • Posts: 6162
  • Joined: Sat Nov 05, 2016 11:55 am
  • Location: United Kingdom

Re: DR 17.2.2 DRFX Bundled Assets not working

PostFri Aug 06, 2021 1:42 pm

Then you have to wait and see if a staff member or other forum member picks up on your post and offers advice or a solution.
Resolve Studio 18.6.6 build 7
Dell XPS 8700 i7-4790, 24GB RAM, 2 x Evo 860 SSDs, GTX1060/6GB (546.01 Studio Driver), Win10 Home (22H2), Speed Editor, Faderport mk1, Eizo ColorEdge CS230 + BenQ GW2270 + Samsung SA200, Canon C100mk2, Zoom H2n.
Offline
User avatar

malbred

  • Posts: 7
  • Joined: Thu Jun 17, 2021 8:10 pm
  • Real Name: Aleksey Korneev

Re: DR 17.2.2 DRFX Bundled Assets not working

PostThu Sep 30, 2021 6:11 am

Hi.
There was a solution to load images from the DRFX bundle (PNG JPG)
To successfully loading images inside drfx, you first need to insert this LUA code in the *.setting file

Code: Select all
{
   Tools = ordered() {
      Testgen = GroupOperator {
         CtrlWZoom = false,
--THIS CODE BEGIN
         CustomData = {
            Path = {
               Map = {
                  ["Setting:"] = "EditTemplates:\\Generators\\"
               }
            },
         },
--THIS CODE END
         Inputs = ordered() {
--...
--...
         Tools = ordered() {
            Loader1 = Loader {
               Clips = {
                  Clip {
                     ID = "Clip1",
-- PATH TO LOAD PICTURE
                     Filename = "setting:\\img\\test.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
                  }
               },
               Inputs = {
                  ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
                  ["Clip1.PNGFormat.PostMultiply"] = Input { Value = 1, },
               },
               ViewInfo = OperatorInfo { Pos = { 0, 8.77273 } },
            },



When I created a macro in DaVinci Resolve 16, 17.1, 17.2, this code is not generated!!!
I don't know why.

The problem with loading FBX files remains unresolved

Maybe there are some solutions?
Offline
User avatar

AlexYez

  • Posts: 63
  • Joined: Tue Apr 21, 2020 5:20 pm
  • Location: Planet Earth
  • Real Name: Alexander Ezhov

Re: DR 17.2.2 DRFX Bundled Assets not working

PostWed Oct 27, 2021 5:33 pm

I have the same problem(

When trying to create my DRFX template, I ran into a problem.

If I just put the .obj model and .setting file in
Code: Select all
C:\Users\USERNAME\AppData\Roaming\Blackmagic Design\DaVinci Resolve\Support\Fusion\Templates\Fusion

Then everything works, but if I create a drfx file, the template itself is loaded, but gives an error:
Code: Select all
C:\Users\USERNAME\AppData\Roaming\Blackmagic Design\DaVinci Resolve\Support\Fusion\Templates\TS_Face3DAnimation.drfx\Fusion\face.obj
FBX Error: "FBX SDK error: "File not opened" while importing

I'm doing exactly as instructed, adding the "setting" variable to the file path: "Setting:face.obj"
Has anyone found a solution?
Alexander Ezhov,
Compositing Artist, Davinci Resolve Certified Trainer

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Joe001, mpetech, ohimbz, peeceful, Rick van den Berg, SteveW, Uli Plank and 171 guests