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 351 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 351 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 351 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: 206
  • 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 472.12; dual monitor; GEForce GTX 1660 (6GB main display GPU) plus additional GEForce GTX 1650 Super 4GB; CUDA processing mode; SSD cache, separate SSD for data; Davinci Studio 17.4.2
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: 3603
  • 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 17.4.2 Build 9
Dell XPS 8700 i7-4790 4 core, 24GB RAM, 2 x internal Samsung Evo SSDs, GTX1060/6GB (472.47 Studio), Win10 Home 19043, Speed Editor, PreSonus Faderport 1, Eizo ColorEdge CS230 + BenQ GW2270 (both calibrated)
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: 37
  • Joined: Tue Apr 21, 2020 5:20 pm
  • Location: Russia
  • 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?
Microsoft Windows 10 Pro
10.0.19041 Build 19041
Core(TM) i7-9750H CPU @ 2.60GHz Processor(s)
RAM 64 GB
GeForce RTX 2070 with Max-Q Design (Studio Driver 457.30)
Seagate FireCuda 510 SSD

Return to DaVinci Resolve

Who is online

Users browsing this forum: crtkecnkl659, panos_mts, ZRGARDNE and 84 guests