Jump to: Board index » General » Fusion

Exporting polygons to nuke???

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

ManiRatnam

  • Posts: 86
  • Joined: Tue Mar 14, 2017 2:24 pm

Exporting polygons to nuke???

PostWed Nov 08, 2017 3:57 am

is there a way to export polygons from fusion to other compositing softwares like nuke, aftereffects etc..
Offline
User avatar

michael vorberg

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

Re: Exporting polygons to nuke???

PostWed Nov 08, 2017 9:44 pm

not in a build in way
Offline

Sam Steti

  • Posts: 2501
  • Joined: Tue Jun 17, 2014 7:29 am
  • Location: France

Re: Exporting polygons to nuke???

PostThu Nov 09, 2017 9:45 am

michael vorberg wrote:not in a build in way
What do you mean ?
I personally did it some times via Mocha Pro OFX, but I'm interested in knowing other routes
*MacMini M1 16 Go - Ext nvme SSDs on TB3 - 14 To HD in 2 x 4 disks USB3 towers
*Legacy MacPro 8core Xeons, 32 Go ram, 2 x gtx 980 ti, 3SSDs including RAID
*Resolve Studio everywhere, Fusion Studio too
*https://www.buymeacoffee.com/videorhin
Offline

Sander de Regt

  • Posts: 3574
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Exporting polygons to nuke???

PostThu Nov 09, 2017 9:56 am

Since Mocha Pro isn't built in into Fusion, but a seperate plug-in, Michael's point still stands. ;)
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

Sam Steti

  • Posts: 2501
  • Joined: Tue Jun 17, 2014 7:29 am
  • Location: France

Re: Exporting polygons to nuke???

PostThu Nov 09, 2017 11:37 am

Yes Sander, I know, there was no irony in my comment : the only way I did it was in Mocha and I'm really interested in what Michael could suggest.
I don't care if it's not build in actually (but I hope it's not the Mocha way I already know :) ), I'd like to know his "not build in" way
*MacMini M1 16 Go - Ext nvme SSDs on TB3 - 14 To HD in 2 x 4 disks USB3 towers
*Legacy MacPro 8core Xeons, 32 Go ram, 2 x gtx 980 ti, 3SSDs including RAID
*Resolve Studio everywhere, Fusion Studio too
*https://www.buymeacoffee.com/videorhin
Offline
User avatar

Bryan Ray

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

Re: Exporting polygons to nuke???

PostThu Nov 09, 2017 6:39 pm

The DFSH format is a space-delimited spreadsheet of point values. Knowing both the format of Fusion's points and the target application's points allows a script to be constructed to convert one to the other. I don't happen to have a script that does it, but I have documented DFSH to some extent. If someone else wants to take on the task of writing a conversion script, here's the info I have:

The first line is the string DFSH to indicate the file type. If the shape file uses Relative point values (which can be selected at export), the next line contains information about the node's transform controls:

Center.X, Center.Y, Angle, Scale, Frame Aspect Ratio

If you export with Absolute point values, this line is omitted.

In the lines that follow, if each line has only two values, then the points are linear. Otherwise each line will have six entries:

The first two are the X- and Y- offsets from the Center, followed by the X- and Y- offsets of the first handle from the Point, then the X- and Y- offsets of the second handle from the Point.

If the last point has the same coordinates as the first point, the shape is closed, regardless of whether the values of the handles match.

Here's a sample:

Code: Select all
DFSH
0.274933 0.494209 0.074035 0.115892 -0.040187 -0.062907
0.200359 0.283047 -0.079964 0.051218 0.045171 -0.028933
0.340521 0.203974 0.054807 0.056609 -0.021153 -0.021849
0.313567 0.116813 -0.114106 0.017073 0.110824 -0.016582
0.649596 0.106929 -0.083558 -0.076378 0.052005 0.047536
0.743037 0.296526 0.067385 -0.090755 -0.048963 0.065943
0.532794 0.425020 -0.034142 0.112320 0.021064 -0.069297
0.575921 0.212061 0.108715 -0.015276 -0.136175 0.019134
0.274933 0.494209 0.074035 0.115892 -0.040187 -0.062907


This shows a shape exported in Absolute mode, so the Center is (0.5, 0.5). The first and last points have the same values, so the shape is closed, and that point is at 0.774933, 0.994209. The first handle has two positive values, so it is above and to the right. The second handle has two negative values, so it is below and to the left of the point.

These values will probably need to be multiplied by the frame resolution of the image because most other programs don't use normalized coordinates.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com

Return to Fusion

Who is online

Users browsing this forum: No registered users and 52 guests