Q100203: Nuke <> Mari Bridge Connection Setup



This article explains how to establish a connection between Nuke and Mari after having installed the bridge files. If you have not completed that step, please see 

Q100184: How to install the Nuke <> Mari bridge.

The following steps are necessary to be able to send a projection from Nuke to Mari.


To set the command port in Nuke to establish the bridge with Mari, do the following:

1.  Open Nuke and click Edit → Project Settings → Mari
2.  Click the Mari tab in Nuke

3.  Check the 'enabled' box. When enabled, Nuke listens to Mari on the specified command port. Only one Nuke session can listen on the given port number. If the port is already in use, Nuke attempts to listen on another port number that is within the range number, specified in 'port range', under the advanced option.

4.  If Nuke and Mari are both running on the same computer, leave the 'mari host' field blank and make sure that the 'local host only' option is checked. These settings are automatically set when a command is successfully sent from Mari to Nuke. Checking 'local host only' tells the application to only listen for connections from the local machine, thus preventing accidental connections from different machines. This option must be unchecked in you want to use the Nuke <> Mari bridge across a network.

5.  Enter the port number in the 'nuke command port' that Mari is set to receive. The port number should match the Mari 'Command Port' number set in the 'Scripts' section of the Mari Preferences dialog. This value should only be changed if the default is already used by another application.

6.  Set the location of the directory used for the data rendered and exported from Nuke to Mari in the 'mari data dir' entry field.

7.  Open Mari and, under Edit → Preferences → Scripts, make sure that the 'Mari Command Port' is enabled. The default port number should only be changed if it is already in use by another application. This number should match the port number set in Nuke as described in step 5.

8.  If both Nuke and Mari are running on the same computer, make sure that 'local host only' is checked. If they are running on separated machines, uncheck this.

9.  In the Mari Preference dialog, click on the Nuke tab. Enter the machine name or IP address of the computer running Nuke in the Nuke host field. Again, if both Mari and Nuke are running on the same computer, you should leave this field blank. This is automatically set when a command is sent from Nuke to Mari.

10.  Enter the port number that Nuke is set to receive commands on the 'Port' field. This number should match the Nuke command port set in Nuke under 'Project Settings > Mari'. This value should only be changed if the default is already in use by another application.

The Nuke<>Mari Bridge offers you a quick and easy way for fixing and editing projections using Mari's advanced 3D painting tools. After following the above steps, you should be now ready to send and receive projections using Nuke and Mari and speed up the process of editing or fix textures between both applications.
Was this article helpful?
0 out of 0 found this helpful