Jump to: Board index » General » Fusion

Open obj files in Fusion

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

Abdul Majeed

  • Posts: 49
  • Joined: Fri Aug 05, 2016 3:44 pm

Open obj files in Fusion

PostFri Nov 09, 2018 9:13 pm

Hi,
Is it possible to open obj files in Fusion, I know I can open abc (alembic) files in fusion, but I cant find a way to open obj files. I have a sequence of 001.obj 002.obj 003.obj to 099.obj.
If not, how to convert these files to abc format?

Thank you
OS: Windows 10 Pro v1803 OS Build 16299.371 64-bit
Motherboard: ASUS X99-E WS CPU: Intel Xeon E5-1650 v3 4.1GHz RAM: 4x 16 Kingston DDR4 2133MHz ECC
GPU: GeForce GTX 1080 Ti/ DaVinci Resolve 15.1
Offline

Chad Capeland

  • Posts: 1725
  • Joined: Mon Nov 10, 2014 9:40 pm

Re: Open obj files in Fusion

PostSat Nov 10, 2018 12:23 am

Import as FBX.
Chad Capeland
Indicated, LLC
www.floweffects.com
Offline
User avatar

Bryan Ray

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

Re: Open obj files in Fusion

PostSat Nov 10, 2018 1:24 am

To clarify a bit, use the File > Import > FBX Scene... dialogue. This will create properly configured FBX Mesh nodes, but if you try to add the node yourself, you'll just get frustrated.
Bryan Ray
http://www.bryanray.name
http://www.musevfx.com
Offline

Abdul Majeed

  • Posts: 49
  • Joined: Fri Aug 05, 2016 3:44 pm

Re: Open obj files in Fusion

PostSat Nov 10, 2018 11:38 am

Thankx for reply, I dont have this obj file sequence in fbx format. does it mean I have to somway covert it to fbx animation or something else?

EDIT: thanx got it, I was doing all this in Davinci Fusion, I see it loades fine in Standalone Fusion, but its not animated?
Code: Select all
{
   Tools = ordered() {
      Plane001Mat = MtlBlinn {
         Inputs = {
            ["Diffuse.Color.Red"] = Input { Value = 0.8, },
            ["Diffuse.Color.Green"] = Input { Value = 0.8, },
            ["Diffuse.Color.Blue"] = Input { Value = 0.8, },
            ["Specular.Color.Red"] = Input { Value = 0.2, },
            ["Specular.Color.Green"] = Input { Value = 0.2, },
            ["Specular.Color.Blue"] = Input { Value = 0.2, },
            ["Specular.Exponent"] = Input { Value = 20, },
            MaterialID = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 55, 16.5 } },
      },
      Plane001 = SurfaceFBXMesh {
         CustomData = {
            NumMtlSlots = 1
         },
         Inputs = {
            ImportFile = Input { Value = "F:\\01_Projects\\Pakistan Flag BG\\(Footage)\\obj\\Flag_0001.obj", },
            ObjName = Input { Value = "Plane001", },
            TransformToWorld = Input { Value = 0, },
            EnableAxisConversion = Input { Value = 1, },
            EnableUnitConversion = Input { Value = 1, },
            ["ObjectID.ObjectID"] = Input { Value = 1, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            MultiMaterial = Input { Value = 1, },
            ["Materials.Plane001Mat_mat0"] = Input {
               SourceOp = "Plane001Mat",
               Source = "MaterialOutput",
               CustomData = {
                  MtlSlotIndex = 0
               },
            }
         },
         ViewInfo = OperatorInfo { Pos = { 165, 16.5 } },
      },
      Transform3D1 = Transform3D {
         Inputs = {
            SceneInput = Input {
               SourceOp = "Plane001",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 275, 16.5 } },
      }
   }
}
OS: Windows 10 Pro v1803 OS Build 16299.371 64-bit
Motherboard: ASUS X99-E WS CPU: Intel Xeon E5-1650 v3 4.1GHz RAM: 4x 16 Kingston DDR4 2133MHz ECC
GPU: GeForce GTX 1080 Ti/ DaVinci Resolve 15.1
Offline
User avatar

michael vorberg

  • Posts: 875
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: Open obj files in Fusion

PostSat Nov 10, 2018 2:11 pm

for OBJ sequences you need a little workaround:


https://www.steakunderwater.com/VFXPedi ... Techniques
Importing OBJ or FBX sequences
(Last Updated: Feb 18, 2009)
You want to import 3D objects on a frame-by-frame basis? Here's how it works in Fusion 5:
This assumes you have a sequence of FBX or OBJ like "MyMesh0000.obj, MyMesh0001.obj, etc. and want to have MyMesh0000 at frame 0 and MyMesh0001 at frame 1 of your composition.
Add an FBXMesh3D to your scene and load any of the meshes.
Adjust the material of the mesh in the FBXMesh's Material tab.
Once this is done to suit your needs, add an animation to the materials by right-clicking on any of the color sliders and selecting "Animate MaterialsStdInputs group".
This step is important, because else every time a new mesh is loaded (i.e. on every frame) all color values would be reset.

Now for the trick. Go to the FBXMesh's Scripting tab and in the FrameRenderScript add the lines

MyPadding=4 --set the padding of your sequence
MyFrameNum=string.format("%0"..MyPadding.."d", time) --derive the framenumber from the current time in padded format
ImportFile="Comp:\\OBJ_SEQUENCE\\MyMesh"..MyFrameNum..".obj"
Most likely you would have to tweak the path to your needs.

That's it.

Enjoy.
Offline

Abdul Majeed

  • Posts: 49
  • Joined: Fri Aug 05, 2016 3:44 pm

Re: Open obj files in Fusion

PostMon Nov 12, 2018 11:46 am

Thank you for your help, looks like Im a step closer. :)

in the frame script, I cant change the path, I know Im doing something wrong, I get error message about the path is not correct, it always look in the C drive in fusion default folder.

My fil is on drive F:/obj/sequences/Flag.0001.obj
OS: Windows 10 Pro v1803 OS Build 16299.371 64-bit
Motherboard: ASUS X99-E WS CPU: Intel Xeon E5-1650 v3 4.1GHz RAM: 4x 16 Kingston DDR4 2133MHz ECC
GPU: GeForce GTX 1080 Ti/ DaVinci Resolve 15.1

Return to Fusion

Who is online

Users browsing this forum: No registered users and 4 guests