Scripts for the Domemaster Fusion Macros


This document is a summary of the scripts included with the Domemaster Fusion Macros toolset. Once the scripts have been installed on your system as part of the regular Domemaster Fusion Macros installation process you can access them using Blackmagic Design Fusion's Script menu.

Fusion Scripts Menu

Table of Contents

PanoView

The PanoView script will send the imagery from the currently selected Fusion node to an Oculus Rift HMD using an external media viewer / playback tool.

The Panoview script is described on its own separate documentation page here.

PanoView Script

Edit PanoView Preferences

The Edit PanoView Preferences script lets you customize the default settings for the PanoView image viewing script.

The Edit PanoView Preferences script is described on its own separate documentation page here.

Edit PanoView Preferences

Edit Send Media to Preferences

Edit Send Media to Preferences Menu

The Edit Send Media to Preferences script lets you customize the settings for the "Send Frame to" and "Send Media to" collection of scripts.

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Then run the Script > Domemaster Fusion Macros > Edit Send Media to Preferences menu item.

Step 3. In the Edit Send Media to Preferences dialog window you need to define the executable file path location for each of the "Send Frame to" and "Send Media to" tools you want to use.

Script GUI Controls

Edit Send Media to Preferences Menu

The "Image Format" control allows you to customize the viewer window's saved image format that is used when the "Send Frame to" scripts are run and a node other than a loader or saver is selected and a temporary image is saved to disk. This temporary image is saved using the left viewer window and then passed onto the specified media viewer tool. You can choose one of the following options: "JPEG", "TIFF", "TGA", "PNG", "BMP", or "EXR".

The "Sound Effect" control allows you to choose if you want to have an audio alert played when an error happens or when the script task completes. You can choose one of the following audio playback options: "None", "On Error Only", "Steam Train Whistle Sound", "Trumpet Sound", or "Braam Sound".

The "After Effects" control allows you to choose the specific version of Adobe After Effects you want to use when the "Send Frame to After Effects" or "Send Media to After Effects" scripts are run. You can choose one of the following options: "Adobe After Effects CC 2015.3", "Adobe After Effects CC 2015", "Adobe After Effects CC 2014", "Adobe After Effects CC", "Adobe After Effects CS6", "Adobe After Effects CS5", "Adobe After Effects CS4", "Adobe After Effects CS3"

The "Illustrator" control allows you to choose the specific version of Adobe Illustrator you want to use when the "Send Frame to Illustrator" or "Send Media to Illustrator" scripts are run. You can choose one of the following options: "Adobe Illustrator CC 2015.3", "Adobe Illustrator CC 2015", "Adobe Illustrator CC 2014", "Adobe Illustrator CC", "Adobe Illustrator CS6", "Adobe Illustrator CS5", "Adobe Illustrator CS4", "Adobe Illustrator CS3"

The "Photoshop" control allows you to choose the specific version of Adobe Photoshop you want to use when the "Send Frame to Photoshop" or "Send Media to Photoshop" scripts are run. You can choose one of the following options: "Adobe Photoshop CC 2015.5", "Adobe Photoshop CC 2015", "Adobe Photoshop CC 2014", "Adobe Photoshop CC", "Adobe Photoshop CS6", "Adobe Photoshop CS5", "Adobe Photoshop CS4", or "Adobe Photoshop CS3".

The "Mettle SkyBox" control allows you to apply a Mettle SkyBox Studio effect to your footage automatically when the media is sent to After Effects using the "Send Media to After Effects" script. You can choose one of the following options: "None", "Mettle SkyBox Converter", "Mettle SkyBox Project 2D", "Mettle SkyBox Rotate Sphere", "Mettle SkyBox Viewer".

The "Mettle Input" control allows you to choose a Mettle SkyBox Converter input image projection for your footage when the media is sent to After Effects using the "Send Media to After Effects" script. You can choose one of the following options: "2D Source", "Horizontal Cross Cube-map 4:3", "Sphere-map", "Equirectangular", "Angular Fisheye (Fulldome)", "Cube-map Facebook 3:2", "Cube-map Pano2VR 3:2", "Cube-map GearVR 6:1", "Equirectangular 16:9".

The "Mettle Output" control allows you to choose a Mettle SkyBox Converter output image projection for your footage when the media is sent to After Effects using the "Send Media to After Effects" script. You can choose one of the following options: "Horizontal Cross Cube-map 4:3", "Sphere-map", "Equirectangular", "Angular Fisheye (Fulldome)", "Cube-map Facebook 3:2", "Cube-map Pano2VR 3:2", "Cube-map GearVR 6:1", "Equirectangular 16:9".

The "Affinity Designer Executable" text field and file dialog button allow you to specify the location of the Affinity Designer program on your hard disk. Note: On macOS you will have to paste the file path in manually as the Fusion file browser dialog won't let you select .app files.

The "Affinity Photo Executable" text field and file dialog button allow you to specify the location of the Affinity Photo program on your hard disk. Note: On macOS you will have to paste the file path in manually as the Fusion file browser dialog won't let you select .app files.

The "Autopano Pro Executable" text field and file dialog button allow you to specify the location of the Autopano Pro or Autopano Giga programs on your hard disk. Note: On macOS you will have to paste the file path in manually as the Fusion file browser dialog won't let you select .app files.

The "Corel Photo Paint Executable" text field and file dialog button allow you to specify the location of the Corel Photo Paint program on your hard disk.

The "Hugin Executable" text field and file dialog button allow you to specify the location of the Hugin program on your hard disk. Note: On macOS you will have to paste the file path in manually as the Fusion file browser dialog won't let you select .app files.

The "Photomatix Pro Executable" text field and file dialog button allow you to specify the location of the Photomatix Pro program on your hard disk. Note: On macOS you will have to paste the file path in manually as the Fusion file browser dialog won't let you select .app files.

The "PTGui Pro Executable" text field and file dialog button allow you to specify the location of the PTGui or PTGui Pro programs on your hard disk. Note: On macOS you will have to paste the file path in manually as the Fusion file browser dialog won't let you select .app files.

The "TouchDesigner Executable" text field and file dialog button allow you to specify the location of the TouchDesigner program on your hard disk.

The "Layer Order" control allows you to choose the layer stacking order used when sending imagery to another program. The Layer Order menu options are "No Sorting", "Node X Position", "Node Y Position", "Node Name", "Filename", "Folder + Filename".

The "Use Current Frame" checkbox lets you decide if you want to use the automatically calculated frame number and filename from an image sequence. If you disable the "Use Current Frame" checkbox the first image filename referenced in the loader node's filename text field will be used.

The "OK" button will save the revised preferences.

The "Cancel" button will close the script GUI and stop the script.

PTGui BatchBuilder Creator

Convert Image Sequences to PTGui BatchBuilder

The PTGui BatchBuilder Creator script converts your currently selected loader and saver node based image sequences into a format that works easily with PTGui's BatchBuilder mode that is used for panoramic sequence stitching.

As an example an image sequence named in the format of: name.####.ext will be renamed and placed in a PTGui BatchBuilder sequence numbered folder with a hierarchy of: ####/name.ext

PTGui BatchBuilder Example Folder Names

How to use the Script

Step 1. Start Fusion and open a new comp. Select loader or saver nodes in the flow view.

Step 2. Run the Script > Domemaster Fusion Macros > PTGui BatchBuilder Creator menu item.

Step 3. Select the output folder where you would like to output your PTGui BatchBuilder named imagery. You can also customize the amount of frame padding applied to the numbered folder names.

Note: The close X box on the dialog window does not work. You have to hit the "Cancel" button to close the window.

Script GUI Controls

The "Sound Effect" control allows you to choose if you want to have an audio alert played when an error happens or when the script task completes. You can choose one of the following audio playback options: "None", "On Error Only", "Steam Train Whistle Sound", "Trumpet Sound", or "Braam Sound".

The "BatchBuilder Output Folder" text field and folder browser button allow you to select a folder from your hard disk. This is the folder that will the output location for the copied and renamed image sequences.

The "Frame Range" control allows you to specify how many frames from each image sequence will be processed into the BatchBuilder naming format. The menu options are "Clip Time Range", "Render Time Range", and "Global Time Range".

The "Output Name" control allows you to choose the naming style that is used for the BatchBuilder renamed files. The menu options are "####/<image>.ext", "####/<image>.0000.ext", and "####/<image>.0001.ext".

The "Frame Padding" control allows you to specify the number of leading zeros on the image sequence frame numbering.

The "Open Output Folder" checkbox will display the containing folder where the BatchBuilder files were saved in an Explorer/Finder/Nautilus folder browser view.

PTGui BatchBuilder Extractor

Convert PTGui BatchBuilder to Image Sequences

The PTGui BatchBuilder Extractor script will convert your currently selected loader and saver node based media from inside numbered PTGui BatchBuilder folders into flat image sequences.

As an example a PTGui BatchBuilder "folderized" image sequence named in the format of: ####/name.ext will be copied and placed into a standard image sequence: name.####.ext

PTGui BatchBuilder Example Folder Names

How to use the Script

Step 1. Start Fusion and open a new comp. Select loader or saver nodes in the flow view.

Step 2. Run the Script > Domemaster Fusion Macros > PTGui BatchBuilder Extractor menu item.

Step 3. Select the output folder where you would like to save your renamed imagery. You can also customize the filename prefix and the amount of frame padding applied to the numbered folder names.

Note: The close X box on the dialog window does not work. You have to hit the "Cancel" button to close the window.

Script GUI Controls

The "Sound Effect" control allows you to choose if you want to have an audio alert played when an error happens or when the script task completes. You can choose one of the following audio playback options: "None", "On Error Only", "Steam Train Whistle Sound", "Trumpet Sound", or "Braam Sound".

The "Image Sequence Output Folder" text field and folder browser button allow you to select a folder from your hard disk. This is the folder that will the output location for the copied and renamed image sequences.

The "Output Name" control allows you to choose the naming style that is used for the BatchBuilder renamed files. The menu options are "<name>.#.ext", "<name>_#.ext", "<name> #.ext", "#.ext", "<name>/<name>.#.ext (In a Subfolder)", "<name>/<name>_#.ext (In a Subfolder)", "<name>/<name> #.ext (In a Subfolder)", "<name>/#.ext (In a Subfolder)".

The "Frame Range" control allows you to specify how many frames from each image sequence will be processed into the BatchBuilder naming format. The menu options are "Custom Frame Range", "Render Time Range", and "Global Time Range".

The "Frame Padding" control allows you to specify the number of leading zeros on the image sequence frame numbering.

The "Open Output Folder" checkbox will display the containing folder where the BatchBuilder files were saved in an Explorer/Finder/Nautilus folder browser view.

Convert Movies to Image Sequences

The Convert Movies to Image Sequences script lets you extract image sequences from a folder of movie files.

Convert Movies to Image Sequences

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Run the Script > Domemaster Fusion Macros > Convert Movies to Image Sequences menu item.

Step 3. In the Convert Movies to Image Sequences dialog window you need to select a Movie Folder using the "folder browser" button next to the text field. After customizing the settings like the image format, frame padding and frame rate, you can click the "OK" button to generate your image sequences.

Note: The close X box on the dialog window does not work. You have to hit the "Cancel" button to close the window.

Script GUI Controls

The "Movie Folder" text field and folder browser button allow you to select a folder from your hard disk. This is the folder that will be scanned for movie files and then used for the output of the image sequences.

The "Image Name" control allows you to choose the file naming template system used when the image sequence is generated. The menu options are "<name>.#.<ext>", "<name>_#.<ext>", "<name>#.<ext>", "<name>/<name>.#.<ext> (In a Subfolder)", "<name>/<name>_#.<ext> (In a Subfolder)", and "<name>/#.<ext> (In a Subfolder)".

The "Image Format" control allows you to customize the image format used for the image sequences. The menu options are "None", "JPEG", "TIFF", "TGA", "PNG", and "BMP".

The "Compression" control allows you to choose if you want to save the UV Pass images with no compression, the RLE/Packbits compression format, or the LZW compression format. Generally speaking, the LZW option works the best at shrinking the file size of tiff images while still preserving the image detail. The menu options are "None", "RLE", and "LZW".

The "Frame Padding" control allows you to specify the number of leading zeros on the image sequence frame numbering.

The "Frame Rate" control is used to adjust the image sequence conversion settings.

The "Audio Format" control allows you to choose the audio file type that is written to disk. The menu options are "None", "AIFF", "MP3", and "WAVE"

The "Sound Effect" control allows you to choose if you want to have an audio alert played when an error happens or when the script task completes. You can choose one of the following audio playback options: "None", "On Error Only", "Steam Train Whistle Sound", "Trumpet Sound", or "Braam Sound".

The "OK" button will start processing the video file into an image sequence.

The "Cancel" button will close the script GUI and stop the script.

Generate Panoramic Blending Masks

The Generate Panoramic Blending Masks script sends your currently selected loader and saver node based images to the enblend tool. A set of seamless blending mask images are then generated which allows you to stitch together your multi-camera panoramic rig footage without the need for drawing manual B-Spline masks for each of the camera views.

The Generate Panoramic Blending Masks script needs to be run with two or more loader / saver node images selected in order to create a blending mask. After the script finishes running the resulting mask loader nodes are copied automatically into your system's text clipboard where you can then paste them into your active composite with the Control+V (Windows) or Command+V (Mac) hotkeys.

Generate Panoramic Blending Masks

The "Mask Output Folder" control allows you to specify where you want to save the generated alpha blending mask images.

The "Mask Filename Prefix" text field allows you to write in the initial part of the filename that will be added to the start of each mask image. This is useful if you have existing mask images in the "Mask Output Folder" and you want to avoid overwriting them. The default value for the "Mask Filename Prefix" is "blend-" but you are free to set this to anything you want, or even to clear the text filed out completely.

The "Sound Effect" control allows you to choose if you want to have an audio alert played when an error happens or when the script task completes. You can choose one of the following audio playback options: "None", "On Error Only", "Steam Train Whistle Sound", "Trumpet Sound", or "Braam Sound".

The "Image Format" control allows you to customize the image format used for the image sequences. The menu options are "TIFF", "TGA", "BMP", "PNG", and "JPEG", .

The "Compression" control allows you to choose if you want to save the UV Pass images with no compression, the RLE/Packbits compression format, or the LZW compression format. Generally speaking, the LZW option works the best at shrinking the file size of tiff images while still preserving the image detail. The menu options are "None", "Deflate", "LZW", and "RLE".

The "Edge Wrap" control allows you to choose if the enblend generated alpha masks will wrap around the horizontal or vertical panoramic frame borders.

The "Seam Blend" control allows you to choose what system enblend will use when creating the alpha blending masks.

On most images you are blending you will want to have Seam Blend control set to use the "Graph-Cut (GC)" option along with having the "Create Fine Mask" checkbox enabled. This will create a very nice clean seam mask.

If you are processing a very large number of panoramic source images at high resolution and are in a low memory situation you can change the Seam Blend control over to using the "Nearest Feature Transform (NFT)" option.

The "Layer Order" control allows you to choose the layer stacking order used when enblend generates the mask images from your imagery. The Layer Order menu options are "No Sorting", "Node X Position", "Node Y Position", "Node Name", "Filename", "Folder + Filename".

The "Node Layout" control allows you to choose how the mask loader node connections are constructed after this tool is run. The resulting mask image loader node and channel boolean nodes are copied automatically in your system's clipboard buffer where they can be pasted into a composite. The Node Layout menu options are "Skip Adding Nodes", "Build Nodes Left", "Build Nodes Right", "Build Nodes Upwards", and "Build Nodes Downwards".

The "Frame Ext." control allows you to choose the naming style of the saved mask images. You have the choice of "mask#.ext", "Mask#.0000.ext", or "mask#.0001.ext". The final 0000 and 0001 frame number options are useful in programs like Fusion or TouchDesigner where you don't want the initial frame numbering of each camera view's mask images to be confused as a single image sequence that would be played back like a movie.

The "Open Output Folder" checkbox will display the containing folder where the alpha masks were saved to in an Explorer/Finder/Nautilus folder browser view.

The "Mask Numbering Starts on 1" checkbox allows you to choose if you want each mask image to start counting from 0 or 1. Having this checkbox enabled will give you an initial mask image name like "mask1.ext" and having the checkbox disabled will give you an initial mask image name like "mask0.ext".

The "Create Fine Mask" checkbox will tell enblend to take the extra time to make a smoother and crisper mask border edge on the white to black transition zone for the blending image.

The "GPU Accelerate" checkbox will turn on the enblend option to use your GPU to speed up the rendering task. If the GPU control is not available in your copy of enblend a note will be written in the enblend log file "enblendMaskingOutputLog.txt" that is written to the Domemaster Fusion Macros %TEMP% directory.

The "Use Current Frame" checkbox lets you decide if you want to use the automatically calculated frame number and filename from an image sequence. If you disable the "Use Current Frame" checkbox the first image filename referenced in the loader node's filename text field will be used when generating the blending masks.

Alpha Blending Mask Example

The blending images are saved to an 8-bit greyscale image format that doesn't have an alpha channel.

To use these blending masks in your Fusion composite you would typically connect each of the generated mask images to a ChannelBoolean node. The ChannelBoolean node's To Alpha input will then be set to use Lightness BG. Then the ChannelBoolean node would be connected to the purple EffectMask input on a Merge node.

Fusion Loading the Blending Mask Nodes

Generate UV Pass in PTGui

The Generate UV Pass in PTGui script will use Imagemagick and PTGui Pro to create a collection of UV Pass maps that can be used in Fusion or other programs like After Effects, Nuke, or TouchDesigner to quickly and efficiently warp and stitch multi-camera rig panoramic 360 degree imagery.

A nice feature of the script is that it is able to re-interpolate the position of the PTGui control points when a UV Pass map is generated so you can easily oversample your uv pass output, and the script will to automatically update the resolution and aspect ratio so the control points will stay locked to the original features in the source images which allows the PTGui Optimizer to still function correctly.

Generate UV Pass in PTGui

Note: You need to have a copy of PTGui Pro installed on your system in order to use this script! The regular version of PTGui will not work as only the Pro version is able to generate a 16 bit per channel image output which is essential for a UV pass remapping workflow.

Note: For the current version of the Generate UV Pass in PTGui script it is helpful to create the initial PTGui .pts stitcher document using a low dynamic range image format like a jpg, tiff, or png still image that was "frame grabbed" from the panoramic camera rig video clips.

Floating point .exr images can have strange settings added to the PTGui based .pts files. This can confuse the Generate UV Pass in PTGui script and will cause the script to have a hard time overriding those settings when generating the UV Pass images.

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Run the Script > Domemaster Fusion Macros > Generate UV Pass in PTGui menu item.

Step 3. In the Generate UV Pass in PTGui dialog window you need to select a PTGui .pts file using the "PTGui Project File" text field. After customizing the settings like the image width and height controls you can click the "OK" button to generate your UV Pass maps. The images are rendered to the same folder as your original PTGui .pts file.

Script GUI Controls

The "PTGui Project File" text field and file browser button allow you to select a PTGui .pts file from your hard disk. This is the file that will be used to generate the UV pass maps in PTGui Pro.

The "Projection" menu item allows you to switch the panoramic format that will be output by PTGui when the UV Pass maps are generated. This will automatically override the default panoramic image projection that is defined in the .pts file. The menu options are "Circular Fisheye", Cylindrical", "Equirectangular", "Rectilinear", and "Stereographic".

The "Horizontal FOV" control allows you to set the field of view value for the panoramic output. The Horizontal FOV value combined with the "Pano Width" setting are the primary controls for adjusting the field of view of the generated panorama. The vertical FOV value (and the generated panorama's aspect ratio) is controlled by adjusting the "Pano Height" setting in relation to the current "Pano Width" value. To get a 2:1 aspect ratio 360x180 degree LatLong output for example, you could have the Horizontal FOV set to 360, and the Pano Width set to 3840, and the Pano Height set to 1920.

The "Pano Width" control is used to define the horizontal width of the final PTGui rendered panoramic output.

The "Pano Height" control is used to define the vertical height of the final PTGui rendered panoramic output. This control also adjusts the aspect ratio of the rendered field of view for the panorama.

The "Pano Format" control allows you to customize the image format used by PTGui Pro to render out the 16 bit per channel integer format UV Pass map image. The menu options are "TIFF", "Photoshop PSD", and "Photoshop PSB".

The "UV Pass Width" control allows you to specify the horizontal resolution of the base UV map rectangular gradient image that is fed into PTGui in place of the original multi-camera panoramic rig images.

The "UV Pass Height" control allows you to specify the vertical resolution of the base UV map rectangular gradient image that is fed into PTGui in place of the original multi-camera panoramic rig images.

Note: The UV Pass template image should ideally have the "UV Pass Width" and "UV Pass Height" settings adjusted to preserve the same aspect ratio as your original photos, but can be scaled larger by a factor of 2x, 3x, 4x, etc... if you need to preserve the maximum detail possible during the UV remapping stage.

The "Image Format" control allows you to customize the image format used by UV map rectangular gradient image when the 16 bit per channel integer format image is generated. The menu options are "TIFF" and "PNG".

The "Compression" control allows you to choose if you want to save the UV Pass images with no compression, the RLE/Packbits compression format, or the LZW compression format. Generally speaking, the LZW option works the best at shrinking the file size while still preserving the image detail. The menu options are "None", "RLE", and "LZW". Note: The PSD image format only supports the None and RLE compression modes.

The "Oversample the UV Pass Map" checkbox control allows you to quickly adjust the rendered image resolution on the UV Pass rectangular gradient image. When the checkbox is enabled the UV Pass rectangular gradient image will be rendered at 2x the specified "UV Pass Width" and "UV Pass Height" resolutions.

The "Start on Frame 1" control allows you to adjust the frame numbering of the final image sequence digits on the end of the UV pass image nameto start on either frame 0000 or frame 00001. These digits are added so Fusion will treat each UV pass image as a separate image and not try and group them into an animated image sequence when loaded into a comp. If the checkbox is enabled the starting frame number will be "0001". If the checkbox is disabled the starting frame number will be "0000". Note: It seems like Fusion on Windows won't release the file lock the first time time script is run so you may get an error message in the console about failing to rename the images. Running the script a 2nd time with the exact same settings will fix this problem 90% of the time.

The "Start View Numbering on 1" control allows you to adjust the camera view numbering of the PTGui rendered UV Pass map. If the checkbox is enabled the starting camera view's number will be "1". If the checkbox is disabled the starting view number will be "0".

The "Batch Render in PTGui" checkbox control lets you decide how the .pts file is processed after it is edited and updated by the "Generate UV Pass in PTGui" script.

If the checkbox is enabled then the .pts script will be rendered automatically in PTGui using a batch rendering command and the generated images will be automatically renamed.

If the checkbox is disabled the project file will be loaded visually in the PTGui program where you can further adjust the settings before you manually launch a panoramic uv pass rendering.

The "OK" button will start processing the PTGui Project File that was specified in the script GUI and generate a new copy of the .pts file named <project name>_uvpass.pts. This file is saved to the same folder as the original .pts file.

The "Cancel" button will close the script GUI and stop the script.

Open 360 Video Metadata Tool

The Open 360 Video Metadata Tool LUA script will launch the YouTube 360 / Facebook 360 spatial media metadata embedding program. This makes it a quick process to add the required tags to your panoramic 360 ° movie files so you can view them correctly on streaming video sites.

Open 360 Video Metadata Tool

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Run the Script > Domemaster Fusion Macros > Open 360 Video Metadata Tool menu item to launch the YouTube 360 metadata program.

Downloading the Metadata Tool

To learn more about YouTube 360 degree video metadata and uploading the content to YouTube, check out this Youtube support page:
https://support.google.com/youtube/answer/6178631

or go to the Google Spatial Media GitHub site:
https://github.com/google/spatial-media

Installing the Metadata Tool

On macOS the metadata tool has to be copied to:

/Applications/Spatial Media Metadata Injector.app

On Windows the metadata tool has to be copied to:

C:\Program Files\Spatial Media Metadata Injector.exe

Open Containing Folder

The Open Containing Folder LUA script will open a file browser window to show the folder that holds the selected Loader, Saver, FBXMesh3D, or media file.

Open Containing Folder Script

How to use the Script

Step 1. Start Fusion and open a new comp. Select and activate a node in the flow view.

Step 2. Run the Script > Domemaster Fusion Macros > Open Containing Folder menu item.

If a Loader, Saver, FBXMesh3D, or AlembicMesh3D node is selected in the flow, the existing media file will be displayed in a file browser window.

Open Domemaster Fusion Macros Temp Folder

The Open Domemaster Fusion Macros Temp Folder LUA script will open a file browser window to show the %TEMP%/DomemasterFusionMacros/ folder. This temporary folder holds the live viewport snapshot image frames that are created each time the Send Frame to ... scripts are run.

This temporary folder is also the location where the dynamic after_effects_comper.jsx Adobe ExtendScript JSX file is created when the Send Media to After Effects tool is run and a new After Effects composite is built.

Step 1. Start Fusion and open a new comp.

Step 2. Run the Script > Domemaster Fusion Macros > Open Domemaster Fusion Macros Temp Folder menu item to see a new file browser window appear with the contents of the %TEMP%/DomemasterFusionMacros/ folder.

Open VR View Publishing Folder

The Open VR View Publishing Folder LUA script will open a file browser window to show the Web Sharing folder that has been specified in the Publish Media to Google Cardboard VR View script GUI. This folder holds the VR View exported webpages and temporary media files.

Publishing Folder

It is a good idea to empty out the contents of the VR View Publishing Folder as the number of temporary files stored in this folder and the "media" subdirectory can get large over time.

Step 1. Start Fusion and open a new comp.

Step 2. Run the Script > Domemaster Fusion Macros > Open VR View Publishing Folder menu item to see a new file browser window appear with the contents of the Web Sharing folder.

Publish Media to Google Cardboard VR View

The Publish Media to Google Cardboard VR View script lets you customize the settings and generate a Google Cardboard VR View webpage.

The Publish Media to Google Cardboard VR View script is described on its own separate documentation page here.

Google Cardboard VR View Script

Reset LUA Script Settings to Defaults

The Reset LUA Script Settings to Defaults LUA script clears all of the custom settings for the scripts included with the Domemaster Fusion Macros. This will reset every LUA script dialog setting back to their original defaults.

Reset LUA Script Settings to Defaults Script

How to use the Script

Step 1. Start Fusion and open a new comp. Then run the Script > Domemaster Fusion Macros > Reset LUA Script Settings to Defaults menu item.

Step 2. Click the "Okay" button in the dialog to clear the Domemaster Fusion Macros script preferences.

Send Frame to Affinity Designer

The Send Frame to Affinity Designer LUA script will send the currently selected file loader or saver node file to Affinity Designer. The script can take a live left viewer window snapshot of any of the nodes in a Fusion comp and send that image to Affinity Designer.

Send Frame to Affinity Designer Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select and activate a node in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Frame to Affinity Designer menu item to load the image into Affinity Designer.

Note: If you get an Affinity Designer warning message about the document being already open in another program when you run this script, the solution is to click on the left viewer window in Fusion and press the tilde ~ key to empty the image from the viewer window. Now when you run the script again the document won't be in use elsewhere.

Affinity Designer Script

Send Frame to Affinity Photo

The Send Frame to Affinity Photo LUA script will send the currently selected file loader or saver node file to Affinity Photo. The script can take a live left viewer window snapshot of any of the nodes in a Fusion comp and send that image to Affinity Photo.

Send Frame to Affinity Photo Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select and activate a node in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Frame to Affinity Photo menu item to load the image into Affinity Photo.

Note: If you get an Affinity Photo warning message about the document being already open in another program when you run this script, the solution is to click on the left viewer window in Fusion and press the tilde ~ key to empty the image from the viewer window. Now when you run the script again the document won't be in use elsewhere.

Affinity Photo Script

Send Frame to After Effects

The Send Frame to After Effects LUA script will send the currently selected file loader or saver node file to After Effects. The script can take a live left viewer window snapshot of any of the nodes in a Fusion comp and send that image to After Effects.

This is useful for taking a Fusion composited image into After Effects to build a new comp with After Effects based filters and effects added to the mix.

Note: You can change the version of After Effects that is used by running the Edit Send Media to Preferences script and adjusting the settings.

Send Frame to After Effects

Send Frame to Autopano Pro

The Send Frame to Autopano Pro LUA script will send the currently selected file loader or saver node file to Autopano Pro. The script can take a live left viewer window snapshot of any of the nodes in a Fusion comp and send that image to Autopano Pro.

Note: Autopano Pro writes the version number in the application filename like "Autopano Pro 4.2.app". This means you will need to update the executable name in this script when you install a new version of Autopano Pro.

Note: This tool can also work with Autopano Giga, Autopano Video, and Autopano Video Pro by running the Edit Send Media to Preferences script and adjusting the settings.

Send Frame to Autopano Pro Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select and activate a node in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Frame to Autopano Pro menu item to load the media in Autopano Pro.

If a loader or saver node is selected in the flow, the existing media file will be opened up in the viewer tool. Otherwise, if any other node is active in the flow, a snapshot of the current viewer image will be saved to the temporary image directory and sent to the viewer tool.

Send Frame to Corel Photo Paint

The Send Frame to Corel Photo Paint LUA script will send the currently selected file loader or saver node file to Corel Photo Paint. The script can take a live left viewer window snapshot of any of the nodes in a Fusion comp and send that image to Corel Photo Paint.

This is useful for taking a Fusion composited image into Corel Photo Paint for final tweaks, or to quickly paint alpha masks and other effects in Corel Photo Paint.

Note: You can change the version of Corel Photo Paint that is used by running the Edit Send Media to Preferences script and adjusting the settings.

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select and activate a node in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Frame to Corel Photo Paint menu item to load the media in Corel Photo Paint.

If a loader or saver node is selected in the flow, the existing media file will be opened up in the viewer tool. Otherwise, if any other node is active in the flow, a snapshot of the current viewer image will be saved to the temporary image directory and sent to the viewer tool.

Send Frame to Hugin

The Send Frame to Hugin LUA script will send your currently selected file loader or saver node file to the Hugin stitching program. The script can take a live left viewer window snapshot of any of the nodes in a Fusion comp and send that image to Hugin.

Send Frame to Hugin Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select and activate a node in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Frame to Hugin menu item to load the media in Hugin.

If a loader or saver node is selected in the flow, the existing media file will be opened up in the viewer tool. Otherwise, if any other node is active in the flow, a snapshot of the current viewer image will be saved to the temporary image directory and sent to the viewer tool.

Note: On macOS, after Hugin opens up and asks you for the field of view settings for each of the images, a "Save changes to the panorama before closing?" dialog will appear. You should click the "Cancel" button and then Hugin will finish importing your imagery into the current Hugin project.

Hugin Warning Message

Send Frame to Illustrator

The Send Frame to Illustrator LUA script will send the currently selected file loader or saver node file to Illustrator. The script can take a live left viewer window snapshot of any of the nodes in a Fusion comp and send that image to Illustrator.

This is useful for taking a Fusion composited image into Illustrator to build a new comp with Illustrator based filters and effects added to the mix.

Note: You can change the version of Adobe Illustrator that is used by running the Edit Send Media to Preferences script and adjusting the settings.

Send Frame to Illustrator

Send Frame to Photoshop

The Send Frame to Photoshop LUA script will send the currently selected file loader or saver node file to Adobe Photoshop. The script can take a live left viewer window snapshot of any of the nodes in a Fusion comp and send that image to Photoshop.

Send Frame to Photoshop Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select and activate a node in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Frame to Photoshop menu item to load the media in Photoshop.

If a loader or saver node is selected in the flow, the existing media file will be opened up in the viewer tool. Otherwise, if any other node is active in the flow, a snapshot of the current viewer image will be saved to the temporary image directory and sent to the viewer tool.

Note: You can change the version of Adobe Photoshop that is used by running the Edit Send Media to Preferences script and adjusting the settings.

Send Frame to Photomatix Pro

The Send Frame to Photomatix Pro LUA script will send the currently selected file loader or saver node file to Photomatix Pro 5. The script can take a live left viewer window snapshot of any of the nodes in a Fusion comp and send that image to Photomatix Pro.

Send Frame to Photomatix Pro Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select and activate a node in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Frame to Photomatix Pro menu item to load the media in Photomatix Pro 5.

If a loader or saver node is selected in the flow, the existing media file will be opened up in the viewer tool. Otherwise, if any other node is active in the flow, a snapshot of the current viewer image will be saved to the temporary image directory and sent to the viewer tool.

Note: You can change the version of Photomatix Pro that is used by running the Edit Send Media to Preferences script and adjusting the settings.

Send Frame to PTGui

The Send Frame to PTGui LUA script will send the currently selected file loader or saver node file to the PTGui stitching program. The script can take a live left viewer window snapshot of any of the nodes in a Fusion comp and send that image to PTGui.

Send Frame to PTGui Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select and activate a node in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Frame to PTGui menu item to load the media in PTGui.

If a loader or saver node is selected in the flow, the existing media file will be opened up in the viewer tool. Otherwise, if any other node is active in the flow, a snapshot of the current viewer image will be saved to the temporary image directory and sent to the viewer tool.

Send Media to Affinity Designer

The Send Media to Affinity Designer LUA script will send all of the currently selected file loader or saver node files to Affinity Designer. This is useful for taking still images or movie files from inside of your current Fusion project and using them to build a new composite in Affinity Designer.

Send Media to Affinity Designer Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select loader and saver nodes in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Media to Affinity Designer menu item to load the media in Designer Designer.

Note: If you get an Affinity Designer warning message about the document being already open in another program when you run this script, the solution is to click on the left viewer window in Fusion and press the tilde ~ key to empty the image from the viewer window. Now when you run the script again the document won't be in use elsewhere.

Affinity Designer Script

Send Media to Affinity Photo

The Send Media to Affinity Photo LUA script will send all of the currently selected file loader or saver node files to Affinity Photo. This is useful for taking still images or movie files from inside of your current Fusion project and using them to build a new composite in Affinity Photo.

Send Media to Affinity Photo Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select loader and saver nodes in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Media to Affinity Photo menu item to load the media in Affinity Photo.

Note: If you get an Affinity Photo warning message about the document being already open in another program when you run this script, the solution is to click on the left viewer window in Fusion and press the tilde ~ key to empty the image from the viewer window. Now when you run the script again the document won't be in use elsewhere.

Affinity Photo Script

Send Media to After Effects

The Send Media to After Effects LUA script will send all of the currently selected file loader or saver node files to After Effects. This is useful for taking still images or movie files from inside of your current Fusion project and using them to build a new composite in After Effects.

If you use After Effects and the Mettle SkyBox Studio v2 plugin, you will be pleased to know that the Fusion based Send Media to After Effects script is capable of applying the SkyBox plugin effect to your footage as soon as the media is loaded into an After Effects pre-comp. This option is controlled in the Edit Send Media to Preferences dialog. It is also possible to apply a "Dome Tilt" rotation setting to the After Effects + SkyBox Converter based footage by opening up the Edit PanoView Preferences dialog and enabling the "Dome Tilt" and "Dome Tilt Angle" controls.

Note: You can change the version of Adobe After Effects that is used by running the Edit Send Media to Preferences script and adjusting the settings.

Send Media to After Effects Script

How to use the Script's

Step 1. Start Fusion and open a new comp.

Step 2. Select loader and saver nodes in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Media to After Effects menu item to load the media in After Effects.

Send Media to Autopano Pro

The Send Media to Autopano Pro LUA script will send all of the currently selected file loader or saver node files to Autopano Pro.

This is useful for taking images from a panoramic 360° camera rig that are loaded in your active Fusion composite and passing the frames right into Autopano for stitching or lens correction adjustments.

Note: You can change the version of Autopano that is used by running the Edit Send Media to Preferences script and adjusting the settings.

Note: Autopano Pro writes the version number in the application filename like "Autopano Pro 4.2.app". This means you will need to update the executable name when you install a new version of Autopano Pro.

Send Media to Autopano Pro Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select loader and saver nodes in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Media to Autopano Pro menu item to load the media in Autopano Pro.

Send Media to Corel Photo Paint

The Send Media to Corel Photo Paint LUA script will send all of the currently selected file loader or saver node files to the Corel Photo Paint stitching program.

This is useful for taking a Fusion composited image into Corel Photo Paint for final tweaks, or to quickly paint alpha masks and other effects in Corel Photo Paint.

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select loader and saver nodes in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Media to Corel Photo Paint menu item to load the media in Corel Photo Paint.

The existing loader and saver based media files will be opened up in the viewer tool.

Send Media to Hugin

The Send Media to Hugin LUA script will send all of the currently selected file loader or saver node files to the Hugin stitching program.

This is useful for taking images from a panoramic 360° camera rig that are loaded in your active Fusion composite and passing the frames right into Hugin for stitching or lens correction adjustments.

Send Media to Hugin Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select loader and saver nodes in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Media to Hugin menu item to load the media in Hugin.

The existing loader and saver based media files will be opened up in the viewer tool.

Note: On macOS, after Hugin opens up and asks you for the field of view settings for each of the images, a "Save changes to the panorama before closing?" dialog will appear. You should click the "Cancel" button and then Hugin will finish importing your imagery into the current Hugin project.

Hugin Warning Message

Send Media to Illustrator

The Send Media to Illustrator LUA script will send all of the currently selected file loader or saver node files to Adobe Illustrator.

This is useful for taking a Fusion composited image into Illustrator to build new graphic designs.

Note: You can change the version of Adobe Illustrator that is used by running the Edit Send Media to Preferences script and adjusting the settings.

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select loader and saver nodes in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Media to Illustrator menu item to load the media in Illustrator.

Send Media to Photoshop

The Send Media to Photoshop LUA script will send all of the currently selected file loader or saver node files to Adobe Photoshop.

This is useful for taking a Fusion composited image into Photoshop for final tweaks, or to quickly paint alpha masks and other effects in Photoshop.

Send Media to Photoshop Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select loader and saver nodes in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Media to Photoshop menu item to load the media into separate document tabs in Photoshop.

Send Media to Photomatix Pro

The Send Media to Photomatix Pro LUA script will send all of the currently selected file loader or saver node files to Photomatix Pro 5.

This is useful for taking a Fusion composited image into Photomatix Pro for HDR tonemapping or image stacking.

Send Media to Photomatix Pro Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select loader and saver nodes in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Media to Photomatix Pro menu item to load the media into Photomatix Pro.

Send Media to PTGui

The Send Media to PTGui LUA script will send all of the currently selected loader node files to the PTGui Stitching program.

This is useful for taking images from a panoramic 360° camera rig that are loaded in your active Fusion composite and passing the frames right into PTGui for stitching or lens correction adjustments.

Send Media to PTGui Script

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select loader and saver nodes in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Media to PTGui menu item to load the media in PTGui.

The existing loader and saver media files will be opened up in a new PTGui project.

Send Media to TouchDesigner

The Send Media to TouchDesigner LUA script will send all of the currently selected loader and saver node files to a new project in the TouchDesigner program.

TouchDesigner is a node based realtime content creation environment that is popular with VJs, projection mapping, multimedia art installations, and for creating live to dome presentations.

Send Media to TouchDesigner Script

Note: You can change the version of TouchDesigner that is used by running the Edit Send Media to Preferences script and adjusting the settings.

How to use the Script

Step 1. Start Fusion and open a new comp.

Step 2. Select loader and saver nodes in the flow view.

Step 3. Run the Script > Domemaster Fusion Macros > Send Media to TouchDesigner menu item to load the media in TouchDesigner.

The existing loader and saver media files will be opened up in TouchDesigner.