├── README.md
├── images
├── stx_merge3DConnect.gif
└── stx_mergeConnect.gif
├── layouts.jpg
├── newNodes.jpg
└── nuke2fusion
├── Config
└── fusion.fu
├── Layouts
├── animation.layout
├── compositing.layout
├── floating.layout
├── largeViewer.layout
├── largenodegraph.layout
└── scripting.layout
├── Macros
└── nuke2fusion
│ ├── NoOp.setting
│ ├── add.setting
│ ├── adjustBbox.setting
│ ├── axis.setting
│ ├── backdrop.setting
│ ├── blinkscript.setting
│ ├── card.setting
│ ├── card3D.setting
│ ├── clamp.setting
│ ├── colorspaceGamut.setting
│ ├── constant.setting
│ ├── copy.setting
│ ├── copyBbox.setting
│ ├── cube.setting
│ ├── cyllinder.setting.txt
│ ├── difference.setting
│ ├── divide.setting
│ ├── dot.setting
│ ├── edgedetect.setting
│ ├── expression.setting
│ ├── framehold.setting
│ ├── geometryExpression.setting
│ ├── grade.setting
│ ├── idistort.setting
│ ├── invert.setting
│ ├── keymix.setting
│ ├── kronos.setting
│ ├── max.setting
│ ├── median.setting
│ ├── mergeExpression.setting
│ ├── mergegeo.setting
│ ├── min.setting
│ ├── minus.setting
│ ├── multiply.setting
│ ├── null.setting
│ ├── particleExpression.setting
│ ├── positionToPointsGeometry.setting
│ ├── positionToPointsParticles.setting
│ ├── premult.setting
│ ├── radial.setting
│ ├── ramp.setting
│ ├── read.setting
│ ├── readGeoAlembic.setting
│ ├── readGeoFBX-Obj.setting
│ ├── reconcile3d.setting
│ ├── reformat.setting
│ ├── retime.setting
│ ├── scanlinerender.setting
│ ├── scene.setting
│ ├── shuffle.setting
│ ├── sphericalTransform.setting
│ ├── stmap.setting
│ ├── unpremult.setting
│ ├── write.setting
│ └── writeGeo.setting
└── Scripts
└── Utility
├── stx_kissConnect.lua
├── stx_merge3DConnect.lua
└── stx_mergeConnect.lua
/README.md:
--------------------------------------------------------------------------------
1 | # nuke2fusion
2 | A set of defaults for Fusion 8+ that makes transitioning from Nuke easier.
3 | Includes familiar Layouts from Nuke, a set of symlinked names/nodes for Nuke that creates Fusion equavalent nodes and hotkeys to mimic Nuke's default.
4 |
5 | A work in progress, the community can help expand if needed.
6 |
7 | ## Layouts
8 | The Layouts are inspired by the default workspaces in Nuke8+. The following layouts have been made :
9 | * Animation
10 | * Compositing
11 | * Floating
12 | * Large Node Graph
13 | * Large Viewer
14 | * Scripting
15 |
16 |
17 |
18 |
19 |
20 | The layouts are stored in the Layout/ folder.
21 |
22 |
23 | ## Macros (gizmos)
24 | * Nuke names to Fusion nodes are provided, but upon creation they change to the Fusion equavalent for future reference.
25 | * Includes a few small snippets of nodes to showcase similar functionality (Position2Points, Reconcile3d etc)
26 | * All accessible as Nuke names by pressing TAB and writing the name of the nodes.
27 |
28 |
29 |
30 |
31 |
32 |
33 | The macros are stored in the macros/nuke2fusion/ folder.
34 |
35 | ## Hotkeys
36 | A set of default hotkeys for creating nodes, toggling view controls on/off, disabling nodes and more. With a small addition of using capital
37 | letters to indicate 3d nodes.
38 |
39 | * Tab for node search with wildcard (moved from shift-space)
40 | * Lower case letters for 2d nodes (m)erge, (w)rite, (r)ead, (b)lur etc..
41 | * Upper case letters for 3d nodes (M)erge3d, (R)enderer3d, (T)ransform3d etc..
42 | * (d) for disable/passthrough node
43 | * (q) (while focused on the viewer) disables/enables on-screen controls
44 | * (m)erge and (M)erge3D automatically tries to connect to selected nodes
45 | * (k) will try to connect selected node to closest node output. Aka kiss.
46 | * (.) inserts a elbow/dot node.
47 |
48 |
49 |
50 |
51 |
52 |
53 | The hotkeys can be configured and edited under the Config/fusion.fu file.
54 |
55 | # Installation
56 | Clone or copy the folders into your userprefs folder.
57 |
58 | If you havent set your userprefs yet, you can point to a place to store Fusion data pr.user
59 | * open Fusion
60 | * File preferences
61 | * Path map
62 | * Select "UserPaths" and point it to your downloaded nuke2fusion folder.
63 |
64 | # Notes
65 | Fusion is very flexible, make sure you checkout all your options in the Preferences.
66 |
--------------------------------------------------------------------------------
/images/stx_merge3DConnect.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/statixVFX/nuke2fusion/c9c6f244ee6874a5cded77bb8b90f253a6f70e4f/images/stx_merge3DConnect.gif
--------------------------------------------------------------------------------
/images/stx_mergeConnect.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/statixVFX/nuke2fusion/c9c6f244ee6874a5cded77bb8b90f253a6f70e4f/images/stx_mergeConnect.gif
--------------------------------------------------------------------------------
/layouts.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/statixVFX/nuke2fusion/c9c6f244ee6874a5cded77bb8b90f253a6f70e4f/layouts.jpg
--------------------------------------------------------------------------------
/newNodes.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/statixVFX/nuke2fusion/c9c6f244ee6874a5cded77bb8b90f253a6f70e4f/newNodes.jpg
--------------------------------------------------------------------------------
/nuke2fusion/Config/fusion.fu:
--------------------------------------------------------------------------------
1 | {
2 | Action
3 | {
4 | ID = "My_ShowHideControls", -- use a prefix to avoid conflict with builtins.
5 | Category = "My Stuff",
6 | ShortName = "SHC",
7 |
8 | Args =
9 | {
10 | { "show", Type = "boolean", Required = false }, -- optional, toggles if not specified
11 | },
12 |
13 | Targets =
14 | {
15 | GLView =
16 | {
17 | Execute =
18 | [[
19 | local viewer = obj.CurrentViewer
20 |
21 | if args.show == nil then
22 | args.show = not viewer:AreControlsShown()
23 | end
24 |
25 | viewer:ShowControls(args.show);
26 |
27 | viewer:Redraw()
28 | ]],
29 | },
30 | },
31 | },
32 |
33 | Hotkeys
34 | {
35 | Target = "FlowView", -- Only one Target per Hotkeys { ... } definition.
36 |
37 | B = "AddTool{ id = 'Blur' }",
38 | C = "AddTool{ id = 'ColorCorrector' }",
39 | G = "AddTool{ id = 'BrightnessContrast' }",
40 | M = "AddTool{ id = 'Merge' }",
41 | T = "AddTool{ id = 'Transform' }",
42 | R = "AddTool{ id = 'Loader' }",
43 |
44 |
45 | M = "RunScript{filename = 'Scripts:/Utility/stx_mergeConnect.lua'}",
46 | -- K = "RunScript{filename = 'Scripts:/Utility/stx_kissConnect.lua'}",
47 |
48 |
49 | W = "AddTool{ id = 'Saver' }",
50 | D = "Execute{ cmd = 'obj:Comp():DisableSelectedTools()' }",
51 | -- O = "AddTool{ id = 'Polygon' }",
52 | P = "AddTool{ id = 'PolylineMask' }",
53 | X = "AddTool{ id = 'Background' }",
54 | A = "AddTool{ id = 'MatteControl' }",
55 | OEM_PERIOD = "AddTool{ id = 'PipeRouter' }",
56 |
57 | SHIFT_M = "RunScript{filename = 'Scripts:/Utility/stx_merge3DConnect.lua'}",
58 | SHIFT_C = "AddTool{ id = 'Camera3D' }",
59 | SHIFT_R = "AddTool{ id = 'Renderer3D' }",
60 | SHIFT_I = "AddTool{ id = 'ImagePlane3D' }",
61 | SHIFT_T = "AddTool{ id = 'Transform3D' }",
62 |
63 | SHIFT_E = "AddTool{ id = 'pEmitter' }",
64 | SHIFT_P = "AddTool{ id = 'pRender' }",
65 |
66 | TAB = "Comp_Choose_Tool",
67 |
68 | -- Putting these in FlowView (and any other specific targets) still allows arrows to 'nudge'
69 | -- controls in view and control view, but does limit them to only functioning
70 | -- in certain places.
71 |
72 | LEFT = "Time_Step_Back",
73 | RIGHT = "Time_Step_Forward",
74 | },
75 |
76 | Hotkeys
77 | {
78 | Target = "GLView",
79 |
80 | F = "Viewer_Scale_Abs{ scale=0 }",
81 | Q = "My_ShowHideControls",
82 | },
83 |
84 | Hotkeys
85 | {
86 | Target = "FuFrame",
87 |
88 | J = "Playback_Mode{ play = true, reverse = true}",
89 | K = "Playback_Mode{ play = false }",
90 | L = "Playback_Mode{ play = true }", -- can leave out play = true if you want toggle.
91 | },
92 | }
93 |
--------------------------------------------------------------------------------
/nuke2fusion/Layouts/animation.layout:
--------------------------------------------------------------------------------
1 | {
2 | {
3 | FrameTypeID = "ChildFrame",
4 | Mode = 3,
5 | LayoutPreset = 0,
6 | Left = 0,
7 | Top = 27,
8 | Width = 1680,
9 | Height = 951,
10 | Views = ordered() {
11 | Main = MultiView {
12 | Active = "Left",
13 | ViewList = ordered() {
14 | Left = "PreviewContainer",
15 | Right = "PreviewContainer"
16 | },
17 | Names = {
18 | Left = "Left",
19 | Right = "Right"
20 | },
21 | },
22 | Controls = MultiView {
23 | Active = "Tools",
24 | ViewList = ordered() {
25 | Tools = "ControlView",
26 | Modifiers = "ModifierView"
27 | },
28 | },
29 | Transport = "TransportView",
30 | MultiView = MultiView {
31 | Active = "Flow",
32 | ViewList = ordered() {
33 | Flow = "FlowView",
34 | Console = "ConsoleView",
35 | Info = "InfoView",
36 | Chat = "ChatView"
37 | },
38 | },
39 | MultiView2 = MultiView {
40 | Active = "Timeline",
41 | ViewList = ordered() {
42 | Timeline = "TimelineView",
43 | Spline = "SplineEditorView"
44 | },
45 | },
46 | Time = "TimeView"
47 | },
48 | Layout = {
49 | Columns = 2,
50 | RatioX = 1,
51 | RatioY = 1,
52 | {
53 | Rows = 2,
54 | RatioX = 1,
55 | RatioY = 1,
56 | {
57 | Rows = 2,
58 | RatioX = 1,
59 | RatioY = 0.57244657851674,
60 | { ID = "Main", RatioX = 1, RatioY = 0.876857749469214, Pop = true },
61 | { ID = "Time", SnapY = 56, Pop = true },
62 | Pop = true
63 | },
64 | { ID = "MultiView2", RatioY = 0.42755342148326, Pop = true },
65 | Pop = true
66 | },
67 | {
68 | Rows = 2,
69 | PixelX = 756,
70 | {
71 | Rows = 2,
72 | RatioX = 1,
73 | RatioY = 1,
74 | { ID = "Controls", RatioX = 1, RatioY = 0.511627906976744, Pop = true },
75 | { ID = "MultiView", RatioX = 1, RatioY = 1, Pop = true }
76 | },
77 | { ID = "Transport", FixedY = -2 }
78 | }
79 | }
80 | }
81 | }
--------------------------------------------------------------------------------
/nuke2fusion/Layouts/compositing.layout:
--------------------------------------------------------------------------------
1 | {
2 | {
3 | FrameTypeID = "ChildFrame",
4 | Mode = 3,
5 | LayoutPreset = 0,
6 | Left = 0,
7 | Top = 27,
8 | Width = 1680,
9 | Height = 951,
10 | Views = ordered() {
11 | Main = MultiView {
12 | Active = "Flow",
13 | ViewList = ordered() {
14 | Flow = "FlowView",
15 | Console = "ConsoleView",
16 | Timeline = "TimelineView",
17 | Spline = "SplineEditorView",
18 | Info = "InfoView",
19 | Chat = "ChatView"
20 | },
21 | },
22 | Controls = MultiView {
23 | Active = "Tools",
24 | ViewList = ordered() {
25 | Tools = "ControlView",
26 | Modifiers = "ModifierView"
27 | },
28 | },
29 | Left = "PreviewContainer",
30 | Right = "PreviewContainer",
31 | Transport = "TransportView",
32 | Time = "TimeView"
33 | },
34 | Layout = {
35 | Columns = 2,
36 | RatioX = 1,
37 | RatioY = 1,
38 | {
39 | Rows = 2,
40 | RatioX = 0.739701492537313,
41 | RatioY = 0.00948366701791359,
42 | {
43 | Columns = 2,
44 | RatioX = 1,
45 | RatioY = 0.471458773784355,
46 | { ID = "Left", RatioX = 0.490291262135922, RatioY = 0.00949367088607595, Pop = true },
47 | { ID = "Right", RatioX = 0.509708737864078, Pop = true },
48 | Pop = true
49 | },
50 | {
51 | Rows = 2,
52 | RatioY = 0.528541226215645,
53 | { ID = "Time", RatioX = 1, SnapY = 56, Pop = true },
54 | { ID = "Main", RatioY = 0.905901116427432, Pop = true },
55 | Pop = true
56 | }
57 | },
58 | {
59 | Rows = 2,
60 | PixelX = 434,
61 | { ID = "Controls", RatioX = 1, RatioY = 1 },
62 | { ID = "Transport", FixedY = -2 }
63 | }
64 | }
65 | }
66 | }
--------------------------------------------------------------------------------
/nuke2fusion/Layouts/floating.layout:
--------------------------------------------------------------------------------
1 | {
2 | {
3 | FrameTypeID = "ChildFrame",
4 | Mode = 3,
5 | LayoutPreset = 0,
6 | Left = 0,
7 | Top = 27,
8 | Width = 1680,
9 | Height = 1000,
10 | Views = ordered() {
11 | Main = MultiView {
12 | Active = "Flow",
13 | ViewList = ordered() {
14 | Flow = "FlowView",
15 | Console = "ConsoleView",
16 | Timeline = "TimelineView",
17 | Spline = "SplineEditorView",
18 | Info = "InfoView",
19 | Chat = "ChatView"
20 | },
21 | }
22 | },
23 | Layout = { ID = "Main", RatioX = 1, RatioY = 1, Pop = true }
24 | },
25 | {
26 | FrameTypeID = "FloatViewFrame",
27 | Mode = 0,
28 | Left = 901,
29 | Top = 219,
30 | Width = 680,
31 | Height = 557,
32 | Views = ordered() {
33 | Frame2 = MultiView {
34 | Active = "Left",
35 | ViewList = ordered() {
36 | Left = "PreviewContainer",
37 | Right = "PreviewContainer"
38 | },
39 | Names = {
40 | Right = "Right",
41 | Left = "Left"
42 | },
43 | },
44 | Time = "TimeView"
45 | },
46 | Layout = {
47 | Rows = 2,
48 | RatioX = 1,
49 | RatioY = 1,
50 | { ID = "Frame2", RatioX = 1, RatioY = 0.894927536231884 },
51 | { ID = "Time", SnapY = 56 }
52 | }
53 | },
54 | {
55 | FrameTypeID = "FloatViewFrame",
56 | Mode = 0,
57 | Left = 66,
58 | Top = 392,
59 | Width = 390,
60 | Height = 487,
61 | Views = ordered() {
62 | Frame3 = MultiView {
63 | Active = "Tools",
64 | ViewList = ordered() {
65 | Tools = "ControlView"
66 | },
67 | }
68 | },
69 | Layout = { ID = "Frame3", RatioX = 1, RatioY = 1 }
70 | }
71 | }
--------------------------------------------------------------------------------
/nuke2fusion/Layouts/largeViewer.layout:
--------------------------------------------------------------------------------
1 | {
2 | {
3 | FrameTypeID = "ChildFrame",
4 | Mode = 3,
5 | LayoutPreset = 0,
6 | Left = 0,
7 | Top = 27,
8 | Width = 1680,
9 | Height = 951,
10 | Views = ordered() {
11 | Main = MultiView {
12 | Active = "Left",
13 | ViewList = ordered() {
14 | Left = "PreviewContainer",
15 | Right = "PreviewContainer"
16 | },
17 | Names = {
18 | Left = "Left",
19 | Right = "Right"
20 | },
21 | },
22 | Controls = MultiView {
23 | Active = "Tools",
24 | ViewList = ordered() {
25 | Tools = "ControlView",
26 | Modifiers = "ModifierView"
27 | },
28 | },
29 | Transport = "TransportView",
30 | MultiView = MultiView {
31 | Active = "Flow",
32 | ViewList = ordered() {
33 | Flow = "FlowView",
34 | Console = "ConsoleView",
35 | Timeline = "TimelineView",
36 | Spline = "SplineEditorView",
37 | Info = "InfoView",
38 | Chat = "ChatView"
39 | },
40 | },
41 | Time = "TimeView"
42 | },
43 | Layout = {
44 | Columns = 2,
45 | RatioX = 1,
46 | RatioY = 1,
47 | {
48 | Rows = 2,
49 | RatioX = 1,
50 | RatioY = 1,
51 | { ID = "Main", RatioX = 1, RatioY = 0.934463276836158, Pop = true },
52 | { ID = "Time", SnapY = 56, Pop = true },
53 | Pop = true
54 | },
55 | {
56 | Rows = 2,
57 | PixelX = 756,
58 | {
59 | Rows = 2,
60 | RatioX = 1,
61 | RatioY = 1,
62 | { ID = "Controls", RatioX = 1, RatioY = 0.511627906976744, Pop = true },
63 | { ID = "MultiView", RatioX = 1, RatioY = 1, Pop = true }
64 | },
65 | { ID = "Transport", FixedY = -2 }
66 | }
67 | }
68 | }
69 | }
--------------------------------------------------------------------------------
/nuke2fusion/Layouts/largenodegraph.layout:
--------------------------------------------------------------------------------
1 | {
2 | {
3 | FrameTypeID = "ChildFrame",
4 | Mode = 3,
5 | LayoutPreset = 0,
6 | Left = 0,
7 | Top = 27,
8 | Width = 1680,
9 | Height = 951,
10 | Views = ordered() {
11 | Main = MultiView {
12 | Active = "Flow",
13 | ViewList = ordered() {
14 | Flow = "FlowView",
15 | Console = "ConsoleView",
16 | Timeline = "TimelineView",
17 | Spline = "SplineEditorView",
18 | Info = "InfoView",
19 | Chat = "ChatView"
20 | },
21 | },
22 | Controls = MultiView {
23 | Active = "Tools",
24 | ViewList = ordered() {
25 | Tools = "ControlView",
26 | Modifiers = "ModifierView"
27 | },
28 | },
29 | Transport = "TransportView",
30 | MultiView2 = MultiView {
31 | Active = "Left",
32 | ViewList = ordered() {
33 | Right = "PreviewContainer",
34 | Left = "PreviewContainer"
35 | },
36 | Names = {
37 | Right = "Right",
38 | Left = "Left"
39 | },
40 | },
41 | Time = "TimeView"
42 | },
43 | Layout = {
44 | Columns = 2,
45 | RatioX = 1,
46 | RatioY = 1,
47 | { ID = "Main", RatioX = 0.547462686567164, RatioY = 1, Pop = true },
48 | {
49 | Rows = 2,
50 | PixelX = 756,
51 | {
52 | Rows = 2,
53 | RatioX = 1,
54 | RatioY = 1,
55 | { ID = "Controls", RatioX = 1, RatioY = 0.511627906976744, Pop = true },
56 | {
57 | Rows = 2,
58 | RatioY = 0.488372093023256,
59 | { ID = "MultiView2", RatioX = 1, RatioY = 0.873638344226579, Pop = true },
60 | { ID = "Time", SnapY = 56, Pop = true },
61 | Pop = true
62 | }
63 | },
64 | { ID = "Transport", FixedY = -2 }
65 | }
66 | }
67 | }
68 | }
--------------------------------------------------------------------------------
/nuke2fusion/Layouts/scripting.layout:
--------------------------------------------------------------------------------
1 | {
2 | {
3 | FrameTypeID = "ChildFrame",
4 | Mode = 3,
5 | LayoutPreset = 0,
6 | Left = 0,
7 | Top = 27,
8 | Width = 1680,
9 | Height = 951,
10 | Views = ordered() {
11 | Controls = MultiView {
12 | Active = "Left",
13 | ViewList = ordered() {
14 | Left = "PreviewContainer",
15 | Right = "PreviewContainer"
16 | },
17 | Names = {
18 | Left = "Left",
19 | Right = "Right"
20 | },
21 | },
22 | Transport = "TransportView",
23 | MultiView = MultiView {
24 | Active = "Flow",
25 | ViewList = ordered() {
26 | Flow = "FlowView"
27 | },
28 | },
29 | MultiView2 = MultiView {
30 | Active = "Info2",
31 | ViewList = ordered() {
32 | Info2 = "InfoView",
33 | Chat = "ChatView",
34 | Timeline = "TimelineView",
35 | Spline = "SplineEditorView"
36 | },
37 | },
38 | Console2 = "ConsoleView",
39 | Time = "TimeView"
40 | },
41 | Layout = {
42 | Columns = 2,
43 | RatioX = 1,
44 | RatioY = 1,
45 | {
46 | Rows = 2,
47 | RatioX = 1,
48 | RatioY = 1,
49 | { ID = "Console2", RatioX = 1, RatioY = 1, Pop = true },
50 | { ID = "MultiView2", RatioY = 0.218251095901865, Pop = true },
51 | Pop = true
52 | },
53 | {
54 | Rows = 2,
55 | PixelX = 718,
56 | {
57 | Rows = 2,
58 | RatioX = 1,
59 | RatioY = 1,
60 | {
61 | Rows = 2,
62 | RatioX = 1,
63 | RatioY = 0.46723044397463,
64 | { ID = "Controls", RatioX = 1, RatioY = 0.879417879417879, Pop = true },
65 | { ID = "Time", SnapY = 56, Pop = true },
66 | Pop = true
67 | },
68 | { ID = "MultiView", RatioX = 1, RatioY = 1, Pop = true }
69 | },
70 | { ID = "Transport", FixedY = -2 }
71 | }
72 | }
73 | }
74 | }
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/NoOp.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | PipeRouter1 = PipeRouter {
4 | CtrlWZoom = false,
5 | }
6 | },
7 | ActiveTool = "PipeRouter1"
8 | }
9 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/add.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | add = ChannelBoolean {
4 | CtrlWZoom = false,
5 | NameSet = true,
6 | Inputs = {
7 | Operation = Input { Value = 1, },
8 | },
9 | }
10 | },
11 | ActiveTool = "add"
12 | }
13 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/adjustBbox.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | SetDomain1 = SetDomain {
4 | CtrlWZoom = false,
5 | ViewInfo = OperatorInfo { Pos = { 870.742, 550.818 } },
6 | }
7 | },
8 | ActiveTool = "SetDomain1"
9 | }
10 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/axis.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | Locator3D1 = Locator3D {
4 | CtrlWZoom = false,
5 | Inputs = {
6 | Width = Input { Value = 2048, },
7 | Height = Input { Value = 1156, },
8 | },
9 | ViewInfo = OperatorInfo { Pos = { 1574, 631 } },
10 | }
11 | },
12 | ActiveTool = "Locator3D1"
13 | }
14 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/backdrop.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | Underlay1 = Underlay {
4 | ViewInfo = UnderlayInfo {
5 | Pos = { 1001.24, 357.641 },
6 | Size = { 172, 156.573 }
7 | },
8 | }
9 | },
10 | ActiveTool = "Underlay1"
11 | }
12 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/blinkscript.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | Fuses_aka_blinkscript = Note {
4 | NameSet = true,
5 | Inputs = {
6 | Comments = Input { Value = "A special form of FusionScript is the Fuse, which is a tool built using Lua that acts much like a \nplug-in created from the C++ SDK, but without needing to be precompiled. This allows it to be \nused in both Fusion and Fusion Studio, but it also allows you to create nearly any effect you can \nconceive of. \nLua is a very fast scripting language, but on high resolution images, executing pixel by pixel, \neven it would be slow compared to a real C++ plug-in. Fortunately, there are special \nenhancements for Fuses that greatly speed up the execution so that fully interactive rendering \ncan occur.\n\nGPU / CPU support.\n\nCheck out the help docs for more, or visit the fusion forums (www.steakunderwater.com or the BMD official forum for more)", }
7 | },
8 | ViewInfo = StickyNoteInfo {
9 | Pos = { 731.654, 157.595 },
10 | Flags = {
11 | Expanded = true
12 | },
13 | Size = { 548.87, 205.057 }
14 | },
15 | }
16 | },
17 | ActiveTool = "Fuses_aka_blinkscript"
18 | }
19 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/card.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | ImagePlane3D1 = ImagePlane3D {
4 | CtrlWZoom = false,
5 | Inputs = {
6 | ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 5, },
7 | ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
8 | },
9 | ViewInfo = OperatorInfo { Pos = { 550, 577.5 } },
10 | }
11 | },
12 | ActiveTool = "ImagePlane3D1"
13 | }
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/card3D.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | DVE1 = DVE {
4 | CtrlWZoom = false,
5 | ViewInfo = OperatorInfo { Pos = { 805.491, 167.039 } },
6 | }
7 | },
8 | ActiveTool = "DVE1"
9 | }
10 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/clamp.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | clamp1 = MacroOperator {
4 | Inputs = ordered() {
5 | MainInput1 = InstanceInput {
6 | SourceOp = "CustomTool1",
7 | Source = "Image1",
8 | },
9 | Input2 = InstanceInput {
10 | SourceOp = "CustomTool1",
11 | Source = "NumberIn1",
12 | Name = "Clamp High",
13 | Default = 1,
14 | },
15 | Input3 = InstanceInput {
16 | SourceOp = "CustomTool1",
17 | Source = "NumberIn2",
18 | Name = "Clamp Low",
19 | Default = 0,
20 | },
21 | Input4 = InstanceInput {
22 | SourceOp = "CustomTool1",
23 | Source = "Blend",
24 | Default = 1,
25 | },
26 | Input5 = InstanceInput {
27 | SourceOp = "CustomTool1",
28 | Source = "ProcessWhenBlendIs00",
29 | Default = 0,
30 | },
31 | Input6 = InstanceInput {
32 | SourceOp = "CustomTool1",
33 | Source = "ProcessRed",
34 | Name = "Red",
35 | Default = 1,
36 | },
37 | Input7 = InstanceInput {
38 | SourceOp = "CustomTool1",
39 | Source = "ProcessGreen",
40 | Name = "Green",
41 | Default = 1,
42 | },
43 | Input8 = InstanceInput {
44 | SourceOp = "CustomTool1",
45 | Source = "ProcessBlue",
46 | Name = "Blue",
47 | Default = 1,
48 | },
49 | Input9 = InstanceInput {
50 | SourceOp = "CustomTool1",
51 | Source = "ProcessAlpha",
52 | Name = "Alpha",
53 | Default = 1,
54 | },
55 | Input10 = InstanceInput {
56 | SourceOp = "CustomTool1",
57 | Source = "ApplyMaskInverted",
58 | Default = 0,
59 | },
60 | Input11 = InstanceInput {
61 | SourceOp = "CustomTool1",
62 | Source = "MultiplyByMask",
63 | Default = 0,
64 | },
65 | Input12 = InstanceInput {
66 | SourceOp = "CustomTool1",
67 | Source = "FitMask",
68 | },
69 | Input13 = InstanceInput {
70 | SourceOp = "CustomTool1",
71 | Source = "MaskChannel",
72 | Default = 3,
73 | },
74 | Input14 = InstanceInput {
75 | SourceOp = "CustomTool1",
76 | Source = "MaskHigh",
77 | ControlGroup = 15,
78 | Default = 1,
79 | },
80 | Input15 = InstanceInput {
81 | SourceOp = "CustomTool1",
82 | Source = "MaskLow",
83 | ControlGroup = 15,
84 | Default = 0,
85 | },
86 | Input16 = InstanceInput {
87 | SourceOp = "CustomTool1",
88 | Source = "MaskClipBlack",
89 | Default = 1,
90 | },
91 | Input17 = InstanceInput {
92 | SourceOp = "CustomTool1",
93 | Source = "MaskClipWhite",
94 | Default = 1,
95 | },
96 | Input18 = InstanceInput {
97 | SourceOp = "CustomTool1",
98 | Source = "UseObject",
99 | Default = 0,
100 | },
101 | Input19 = InstanceInput {
102 | SourceOp = "CustomTool1",
103 | Source = "UseMaterial",
104 | Default = 0,
105 | },
106 | Input20 = InstanceInput {
107 | SourceOp = "CustomTool1",
108 | Source = "CorrectEdges",
109 | },
110 | Input21 = InstanceInput {
111 | SourceOp = "CustomTool1",
112 | Source = "ObjectID",
113 | Name = "Object / Material",
114 | ControlGroup = 21,
115 | Default = 0,
116 | },
117 | Input22 = InstanceInput {
118 | SourceOp = "CustomTool1",
119 | Source = "MaterialID",
120 | Name = "Object / Material",
121 | ControlGroup = 21,
122 | Default = 0,
123 | },
124 | Input23 = InstanceInput {
125 | SourceOp = "CustomTool1",
126 | Source = "MotionBlur",
127 | Default = 0,
128 | },
129 | Input24 = InstanceInput {
130 | SourceOp = "CustomTool1",
131 | Source = "Quality",
132 | Default = 2,
133 | },
134 | Input25 = InstanceInput {
135 | SourceOp = "CustomTool1",
136 | Source = "ShutterAngle",
137 | Default = 180,
138 | },
139 | Input26 = InstanceInput {
140 | SourceOp = "CustomTool1",
141 | Source = "CenterBias",
142 | Default = 0,
143 | },
144 | Input27 = InstanceInput {
145 | SourceOp = "CustomTool1",
146 | Source = "SampleSpread",
147 | Default = 1,
148 | },
149 | Input1 = InstanceInput {
150 | SourceOp = "CustomTool1",
151 | Source = "EffectMask",
152 | }
153 | },
154 | Outputs = {
155 | MainOutput1 = InstanceOutput {
156 | SourceOp = "CustomTool1",
157 | Source = "Output",
158 | }
159 | },
160 | ViewInfo = GroupInfo {
161 | Name = "clamp",
162 | Pos = { 0, 0 }
163 | },
164 | Tools = ordered() {
165 | CustomTool1 = Custom {
166 | CtrlWZoom = false,
167 | CtrlWShown = false,
168 | Inputs = {
169 | NumberIn1 = Input { Value = 1, },
170 | LUTIn1 = Input {
171 | SourceOp = "CustomTool1LUTIn1",
172 | Source = "Value",
173 | },
174 | LUTIn2 = Input {
175 | SourceOp = "CustomTool1LUTIn2",
176 | Source = "Value",
177 | },
178 | LUTIn3 = Input {
179 | SourceOp = "CustomTool1LUTIn3",
180 | Source = "Value",
181 | },
182 | LUTIn4 = Input {
183 | SourceOp = "CustomTool1LUTIn4",
184 | Source = "Value",
185 | },
186 | RedExpression = Input { Value = "if(r1>n1,n1,if(r1 Locator3D1 -> Position", }
20 | },
21 | ViewInfo = StickyNoteInfo {
22 | Pos = { 714.483, 1046.21 },
23 | Flags = {
24 | Expanded = true
25 | },
26 | Size = { 196, 179.3 }
27 | },
28 | },
29 | Locator3D1 = Locator3D {
30 | Inputs = {
31 | SceneInput = Input {
32 | SourceOp = "Camera3D1",
33 | Source = "Output",
34 | },
35 | ["Transform3DOp.Translate.X"] = Input { Value = -0.127, },
36 | ["Transform3DOp.Translate.Y"] = Input { Value = 0.143, },
37 | ["Transform3DOp.Translate.Z"] = Input { Value = -0.79, },
38 | CameraSettings = Input { Value = 1, },
39 | CameraSelector = Input { Value = FuID { "Camera3D1" }, },
40 | Width = Input { Value = 2048, },
41 | Height = Input { Value = 1156, },
42 | },
43 | ViewInfo = OperatorInfo { Pos = { 600.644, 1237.3 } },
44 | },
45 | Transform1 = Transform {
46 | CtrlWZoom = false,
47 | Inputs = {
48 | Center = Input {
49 | SourceOp = "Locator3D1",
50 | Source = "Position",
51 | },
52 | },
53 | ViewInfo = OperatorInfo { Pos = { 596.001, 1303.78 } },
54 | }
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/reformat.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | Resize1 = BetterResize {
4 | CtrlWZoom = false,
5 | Inputs = {
6 | Width = Input { Value = 2048, },
7 | Height = Input { Value = 1156, },
8 | PixelAspect = Input { Value = { 1, 1 }, },
9 | },
10 | ViewInfo = OperatorInfo { Pos = { 1370, 387 } },
11 | }
12 | },
13 | ActiveTool = "Resize1"
14 | }
15 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/retime.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | OpticalFlow1 = Dimension.OpticalFlow {
4 | ViewInfo = OperatorInfo { Pos = { 1455, 671 } },
5 | },
6 | TimeStretcher2 = TimeStretcher {
7 | CtrlWZoom = false,
8 | Inputs = {
9 | SourceTime = Input {
10 | SourceOp = "TimeStretcher2SourceTime",
11 | Source = "Value",
12 | },
13 | InterpolateBetweenFrames = Input { Value = 2, },
14 | SampleSpread = Input { Disabled = true, },
15 | Input = Input {
16 | SourceOp = "OpticalFlow1",
17 | Source = "Output",
18 | },
19 | },
20 | ViewInfo = OperatorInfo { Pos = { 1455, 704 } },
21 | },
22 | TimeStretcher2SourceTime = BezierSpline {
23 | SplineColor = { Red = 233, Green = 217, Blue = 243 },
24 | NameSet = true,
25 | KeyFrames = {
26 | [1001] = { 0, Flags = { Linear = true } }
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/scanlinerender.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | Renderer3D1 = Renderer3D {
4 | CtrlWZoom = false,
5 | CustomData = {
6 | ToolVersion = 1,
7 | },
8 | Inputs = {
9 | GlobalIn = Input { Value = 1001, },
10 | GlobalOut = Input { Value = 1100, },
11 | Width = Input { Value = 720, },
12 | Height = Input { Value = 405, },
13 | Depth = Input { Value = 3, },
14 | ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
15 | RendererType = Input { Value = FuID { "RendererOpenGL" }, },
16 | ["RendererOpenGL.Lighting"] = Input { Value = 0, },
17 | ["RendererOpenGL.TextureDepth"] = Input { Value = 3, },
18 | ["RendererOpenGL.TransparencySorting"] = Input { Value = 2, },
19 | ["RendererOpenGL.WireframeAntialiasing"] = Input { Value = 0, },
20 | },
21 | ViewInfo = OperatorInfo { Pos = { 1335, 820 } },
22 | }
23 | },
24 | ActiveTool = "Renderer3D1"
25 | }
26 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/scene.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | Merge3D1 = Merge3D {
4 | CtrlWZoom = false,
5 | ViewInfo = OperatorInfo { Pos = { 1470, 744 } },
6 | }
7 | },
8 | ActiveTool = "Merge3D1"
9 | }
10 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/shuffle.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | ChannelBooleans1 = ChannelBoolean {
4 | CtrlWZoom = false,
5 | ViewInfo = OperatorInfo { Pos = { 1230, 686 } },
6 | }
7 | },
8 | ActiveTool = "ChannelBooleans1"
9 | }
10 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/sphericalTransform.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | PanoMap1 = PanoMap {
4 | CtrlWZoom = false,
5 | Inputs = {
6 | Rotation = Input { Value = 1, },
7 | },
8 | ViewInfo = OperatorInfo { Pos = { 884.479, 199.665 } },
9 | }
10 | },
11 | ActiveTool = "PanoMap1"
12 | }
13 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/stmap.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | Scale1 = Scale {
4 | Inputs = {
5 | PixelAspect = Input { Value = { 1, 0.9375 }, },
6 | FilterMethod = Input { Value = 3, },
7 | },
8 | ViewInfo = OperatorInfo { Pos = { 709, 224 } },
9 | },
10 | Texture1 = Texture {
11 | Inputs = {
12 | Input = Input {
13 | SourceOp = "Scale1",
14 | Source = "Output",
15 | },
16 | },
17 | ViewInfo = OperatorInfo { Pos = { 710, 263 } },
18 | },
19 | Scale1_1 = Scale {
20 | CtrlWZoom = false,
21 | Inputs = {
22 | PixelAspect = Input { Value = { 1, 0.9375 }, },
23 | FilterMethod = Input { Value = 3, },
24 | Input = Input {
25 | SourceOp = "Texture1",
26 | Source = "Output",
27 | },
28 | },
29 | ViewInfo = OperatorInfo { Pos = { 710, 307 } },
30 | },
31 | Note1 = Note {
32 | Inputs = {
33 | Comments = Input { Value = "Plug your UV image into Scale1 and your texture into the green texture input\n\n\nBy scaling the image up before applying the texture transform and subsequently down again you get control over pixel sampling.", }
34 | },
35 | ViewInfo = StickyNoteInfo {
36 | Pos = { 844, 199 },
37 | Flags = {
38 | Expanded = true
39 | },
40 | Size = { 196, 193.3 }
41 | },
42 | }
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/unpremult.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | Background1 = Background {
4 | CtrlWZoom = false,
5 | CustomData = {
6 | Settings = {
7 | [1] = {
8 | Tools = ordered() {
9 | Background1 = Background {
10 | Inputs = {
11 | ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" } },
12 | GlobalIn = Input { Value = 1001 },
13 | Gradient = Input {
14 | Value = Gradient {
15 | Colors = {
16 | [0] = { 0, 0, 0, 1 },
17 | [1] = { 1, 1, 1, 1 }
18 | }
19 | }
20 | },
21 | GlobalOut = Input { Value = 1100 },
22 | Depth = Input { Value = 3 },
23 | Height = Input { Value = 1080 },
24 | Width = Input { Value = 1920 }
25 | },
26 | Name = "Background1",
27 | CtrlWZoom = false,
28 | ViewInfo = OperatorInfo { Pos = { 550, 82.5 } },
29 | CustomData = {
30 | }
31 | }
32 | }
33 | },
34 | [2] = {
35 | Tools = ordered() {
36 | Background1 = Background {
37 | Inputs = {
38 | Type = Input { Value = FuID { "Horizontal" } },
39 | TopRightGreen = Input { Value = 1 },
40 | Width = Input { Value = 1920 },
41 | TopRightRed = Input { Value = 1 },
42 | ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" } },
43 | GlobalIn = Input { Value = 1001 },
44 | Gradient = Input {
45 | Value = Gradient {
46 | Colors = {
47 | [0] = { 0, 0, 0, 1 },
48 | [1] = { 1, 1, 1, 1 }
49 | }
50 | }
51 | },
52 | GlobalOut = Input { Value = 1100 },
53 | Depth = Input { Value = 3 },
54 | TopRightBlue = Input { Value = 1 },
55 | Height = Input { Value = 1080 }
56 | },
57 | CtrlWZoom = false,
58 | ViewInfo = OperatorInfo { Pos = { 550, 82.5 } },
59 | CustomData = {
60 | }
61 | }
62 | }
63 | },
64 | [3] = {
65 | Tools = ordered() {
66 | Background1 = Background {
67 | Inputs = {
68 | BottomRightGreen = Input { Value = 1 },
69 | Type = Input { Value = FuID { "Corner" } },
70 | TopRightGreen = Input { Value = 1 },
71 | Width = Input { Value = 1920 },
72 | TopRightRed = Input { Value = 1 },
73 | ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" } },
74 | GlobalIn = Input { Value = 1001 },
75 | Gradient = Input {
76 | Value = Gradient {
77 | Colors = {
78 | [0] = { 0, 0, 0, 1 },
79 | [1] = { 1, 1, 1, 1 }
80 | }
81 | }
82 | },
83 | GlobalOut = Input { Value = 1100 },
84 | Depth = Input { Value = 3 },
85 | TopLeftRed = Input { Value = 1 },
86 | Height = Input { Value = 1080 }
87 | },
88 | CtrlWZoom = false,
89 | ViewInfo = OperatorInfo { Pos = { 550, 82.5 } },
90 | CustomData = {
91 | }
92 | }
93 | }
94 | },
95 | [4] = {
96 | Tools = ordered() {
97 | Background1 = Background {
98 | Inputs = {
99 | BottomRightGreen = Input { Value = 1 },
100 | Type = Input { Value = FuID { "Vertical" } },
101 | Gradient = Input {
102 | Value = Gradient {
103 | Colors = {
104 | [0] = { 0, 0, 0, 1 },
105 | [1] = { 1, 1, 1, 1 }
106 | }
107 | }
108 | },
109 | TopRightGreen = Input { Value = 1 },
110 | TopLeftBlue = Input { Value = 1 },
111 | Width = Input { Value = 1920 },
112 | TopRightRed = Input { Value = 1 },
113 | ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" } },
114 | GlobalIn = Input { Value = 1001 },
115 | TopLeftGreen = Input { Value = 1 },
116 | GlobalOut = Input { Value = 1100 },
117 | Depth = Input { Value = 3 },
118 | TopLeftRed = Input { Value = 1 },
119 | Height = Input { Value = 1080 }
120 | },
121 | CtrlWZoom = false,
122 | ViewInfo = OperatorInfo { Pos = { 550, 82.5 } },
123 | CustomData = {
124 | }
125 | }
126 | }
127 | },
128 | [5] = {
129 | Tools = ordered() {
130 | Background1 = Background {
131 | Inputs = {
132 | BottomRightGreen = Input { Value = 1 },
133 | TopRightGreen = Input { Value = 1 },
134 | Width = Input { Value = 1920 },
135 | TopRightRed = Input { Value = 1 },
136 | ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" } },
137 | GlobalIn = Input { Value = 1001 },
138 | Gradient = Input {
139 | Value = Gradient {
140 | Colors = {
141 | [0] = { 0, 0, 0, 1 },
142 | [1] = { 1, 1, 1, 1 }
143 | }
144 | }
145 | },
146 | GlobalOut = Input { Value = 1100 },
147 | Depth = Input { Value = 3 },
148 | TopLeftRed = Input { Value = 1 },
149 | Height = Input { Value = 1080 }
150 | },
151 | CtrlWZoom = false,
152 | ViewInfo = OperatorInfo { Pos = { 550, 82.5 } },
153 | CustomData = {
154 | }
155 | }
156 | }
157 | },
158 | [6] = {
159 | Tools = ordered() {
160 | Background1 = Background {
161 | Inputs = {
162 | BottomRightGreen = Input { Value = 1 },
163 | TopRightGreen = Input { Value = 1 },
164 | Width = Input { Value = 1920 },
165 | TopRightRed = Input { Value = 1 },
166 | ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" } },
167 | GlobalIn = Input { Value = 1001 },
168 | Height = Input { Value = 1080 },
169 | GlobalOut = Input { Value = 1100 },
170 | Gradient = Input {
171 | Value = Gradient {
172 | Colors = {
173 | [0] = { 0, 0, 0, 1 },
174 | [1] = { 1, 1, 1, 1 }
175 | }
176 | }
177 | },
178 | TopLeftRed = Input { Value = 1 },
179 | Depth = Input { Value = 3 }
180 | },
181 | CtrlWZoom = false,
182 | ViewInfo = OperatorInfo { Pos = { 605, 49.5 } },
183 | CustomData = {
184 | }
185 | }
186 | }
187 | }
188 | }
189 | },
190 | Inputs = {
191 | GlobalIn = Input { Value = 1001, },
192 | GlobalOut = Input { Value = 1100, },
193 | Width = Input { Value = 1920, },
194 | Height = Input { Value = 1080, },
195 | Depth = Input { Value = 3, },
196 | ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
197 | Gradient = Input {
198 | Value = Gradient {
199 | Colors = {
200 | [0] = { 0, 0, 0, 1 },
201 | [1] = { 1, 1, 1, 1 }
202 | }
203 | },
204 | },
205 | },
206 | ViewInfo = OperatorInfo { Pos = { 1184, 820 } },
207 | }
208 | },
209 | ActiveTool = "Background1"
210 | }
211 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/write.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | Saver1 = Saver {
4 | CtrlWZoom = false,
5 | Inputs = {
6 | ProcessWhenBlendIs00 = Input { Value = 0, },
7 | Clip = Input {
8 | Value = Clip {
9 | Length = 0,
10 | Saving = true,
11 | TrimIn = 0,
12 | ExtendFirst = 0,
13 | ExtendLast = 0,
14 | Loop = 1,
15 | AspectMode = 1,
16 | Depth = 1,
17 | GlobalStart = -2000000000,
18 | GlobalEnd = 0
19 | },
20 | },
21 | OutputFormat = Input { Value = FuID { "TargaFormat" }, },
22 | ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
23 | },
24 | ViewInfo = OperatorInfo { Pos = { 727.361, 473.547 } },
25 | }
26 | },
27 | ActiveTool = "Saver1"
28 | }
29 |
--------------------------------------------------------------------------------
/nuke2fusion/Macros/nuke2fusion/writeGeo.setting:
--------------------------------------------------------------------------------
1 | {
2 | Tools = ordered() {
3 | FBXExporter1 = ExporterFBX {
4 | CtrlWZoom = false,
5 | ViewInfo = OperatorInfo { Pos = { 1051.9, 635.816 } },
6 | }
7 | },
8 | ActiveTool = "FBXExporter1"
9 | }
10 |
--------------------------------------------------------------------------------
/nuke2fusion/Scripts/Utility/stx_kissConnect.lua:
--------------------------------------------------------------------------------
1 | --stx_kissConnect
2 | --v1.1
3 | -- disabled comp locking, caused some issues
4 |
5 | -- lock comp
6 | -- comp:Lock()
7 |
8 | -- get selection
9 | selectedNodes = comp:GetToolList(true)
10 | allNodes = comp:GetToolList()
11 |
12 | flow = comp.CurrentFrame.FlowView
13 |
14 | data = {}
15 |
16 | -- function to return length of table
17 | function tablelength(T)
18 | local count = 0
19 | for _ in pairs(T) do count = count + 1 end
20 | return count
21 | end
22 |
23 | -- store it in a variable
24 | connections = tablelength(selectedNodes)
25 |
26 | -- create merge node, and store some position variables
27 | flow = comp.CurrentFrame.FlowView
28 | selX, selY = flow:GetPos(selectedNodes[1])
29 |
30 |
31 | distances = {}
32 |
33 | for i=1,tablelength(allNodes),1 do
34 | --print(flow:GetPos(allNodes[i]))
35 | tempX, tempY = flow:GetPos(allNodes[i])
36 | local tempDist = math.sqrt((selX-tempX)*(selX-tempX)+(selY-tempY)*(selY-tempY))
37 | table.insert(distances,{allNodes[i], tempDist})
38 | --print(tempDist)
39 | end
40 |
41 |
42 | table.sort(distances, function(b, a) return a[2] > b[2] end)
43 |
44 | for k,v in ipairs(distances) do
45 | print(v[1], ' == ', v[2])
46 | end
47 |
48 |
49 | selectedNodes[1]:ConnectInput("Input", distances[2][1])
50 | selectedNodes[1]:ConnectInput("Background", distances[2][1])
51 | selectedNodes[1]:ConnectInput("MaterialInput", distances[2][1])
52 | selectedNodes[1]:ConnectInput("SceneInput", distances[2][1])
53 | selectedNodes[1]:ConnectInput("SceneInput1", distances[2][1])
54 |
55 | --dump(allNodes)
56 |
57 | --comp:Unlock()
58 |
--------------------------------------------------------------------------------
/nuke2fusion/Scripts/Utility/stx_merge3DConnect.lua:
--------------------------------------------------------------------------------
1 | --stx_merge3DConnect
2 | --v1.1
3 | --1.0 - release
4 | --1.1 - fixed node creation position when nothing is selected
5 | --
6 | --Creates a merge node and connects it to all the selected nodes if they are 3d
7 | --Ignores all other selections
8 |
9 |
10 | -- lock comp
11 | comp:Lock()
12 |
13 | -- get selection
14 | selectedNodes = comp:GetToolList(true)
15 | flow = comp.CurrentFrame.FlowView
16 |
17 | -- store some temp variables
18 | tempX, tempY = 0, 0
19 | x,y = 0, 0
20 |
21 |
22 | -- function to return length of table
23 | function tablelength(T)
24 | local count = 0
25 | for _ in pairs(T) do count = count + 1 end
26 | return count
27 | end
28 |
29 | -- store it in a variable
30 | connections = tablelength(selectedNodes)
31 |
32 | -- create merge node, and store some position variables
33 | mg1 = comp:AddTool("Merge3D", -32768, -32768)
34 | flow = comp.CurrentFrame.FlowView
35 | startX, startY = flow:GetPos(selectedNodes[1])
36 |
37 | xx = 0
38 | yy = 0
39 | for i=1,connections,1 do
40 |
41 | -- connect the inputs, iterate with an i on the string
42 | mg1:ConnectInput("SceneInput"..i, selectedNodes[i])
43 |
44 | -- update positions
45 | x1, y1 = flow:GetPos(selectedNodes[i])
46 | xx = xx + x1 - startX
47 | yy = yy + y1 - startY
48 | end
49 |
50 | -- set final position to be in the center of all the selections
51 | if selectedNodes[1] == nil then
52 | -- flow:SetPos(mg1, -32768, -32768)
53 |
54 | else
55 | flow:SetPos(mg1, startX + (xx/connections), startY + (yy/connections))
56 |
57 | end
58 |
59 | -- unlock
60 | comp:Unlock()
61 |
--------------------------------------------------------------------------------
/nuke2fusion/Scripts/Utility/stx_mergeConnect.lua:
--------------------------------------------------------------------------------
1 | --stx_mergeConnect
2 | --v1.1
3 | --Creates a merge node and connects it to the two first selections
4 | --Ignores all other selections
5 |
6 | -- get selected nodes
7 | selectedNodes = comp:GetToolList(true)
8 |
9 | --dump(selectedNodes)
10 |
11 | -- get the current positions for the two first selections
12 | flow = comp.CurrentFrame.FlowView
13 | x1, y1 = flow:GetPos(selectedNodes[1])
14 | x2, y2 = flow:GetPos(selectedNodes[2])
15 |
16 | -- creates the merge node, connects it and sets the position to be somewhere in between the two
17 | mg1 = comp:AddTool("Merge", -32768, -32768)
18 |
19 | mg1:ConnectInput("Foreground", selectedNodes[1])
20 | mg1:ConnectInput("Background", selectedNodes[2])
21 |
22 |
23 | flow:SetPos(mg1, x1-((x1-x2)/2) ,y1-((y1-y2)/2))
24 |
25 |
--------------------------------------------------------------------------------