FAQ/Nuke Import

From VFXPedia

< FAQ
Revision as of 11:02, 14 January 2013 by Gringo (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

By Script

If you have to make over a shot which has been started in Nuke, you can import animated parameters to Fusion using the "Import Animation From Text File" tool script. It works for points and splines and can also convert Nuke's pixel-based coordinates to Fusion's normalized space in the process. Export the necessary file from Nuke using the "Export Ascii" command found in an animated parameter's right-click menu.

Tilt

Conversion via Spread Sheet

Another way would be to convert Nuke's Ascii file to a spline format (.spl file) Fusion understands using a spread sheet editor:

  1. Open the script in Nuke, RMB on an animated parameter, File>Export Ascii... Nuke exports a text file which contains a column of numbers. These numbers represent the parameter values in each frame. Fusion needs two columns for import: one should contain frame numbers, another should contain values. The first line of the text should contain letters DFSP and the name extension should be .spl, so...
  2. Open a spread sheet editor such as Open Office Calc or MS Excel, drag'n'drop the exported file to it.
  3. Add a column in the beginning.
  4. Fill the column with numbers from 1 with increment (number the rows).
  5. Select the two columns, Ctrl+C.
  6. Open Notepad, Ctrl+V. Two pasted columns of numbers are separated by tabs. Fusion prefers spaces, so...
  7. Select one of the Tab symbols, Ctrl+C.
  8. Ctrl+H (Replace), Ctrl+V, in the "Replace with" field enter a Space, press Replace All.
  9. Add a line in the beginning, enter DFSP, save the file with .spl extension.
  10. In Fusion animate the parameter you want to import, RMB>Edit.
  11. In the Spline editor RMB>Import Spline...
  12. In the file requester that appears, locate and select the .spl file.

This technique can be used for any other upcoming or obsolete formats not covered by the script above or Fusion's basic import functionality

Gringo

Importing Bezier Nodes

As of Fusion 6, it is possible to import Bezier shapes from Nuke directly:

  1. Create a polygon mask, then select and view it.
  2. From the display view's context menu, choose Polyline > Import > Import Nuke Shapes...
  3. In the file requester that appears, locate and select the .nk or .nuke file.

Daniel