The Compositing Interoperability plug-in allows you to export information from your Maya scene to Autodesk Toxik 2007. The Compositing Interoperability plug-in includes Maya menu extensions for Autodesk Toxik 2007. When you load the plug-in, a Toxik-specific menu item appears in the Maya Render menu.
Using this plug-in, you can generate a preliminary Toxik composition from within Maya based on the render layers in your scene. The compositing graph includes the associated image sequence filenames, Maya blend modes and layer-specific render settings.You can export all the layers in your scene, or selected layers. This allows you the flexibility to export all the layers in your scene, and then make changes and export only the changed layers if necessary.
You can work in one of two output modes: Export Toxik IMSQ File, or Update Toxik. If you are not running Toxik on the same machine that Maya is running on, use the Export Toxik IMSQ File mode, which allows you to save the Toxik script and run it on the machine where Toxik resides. If you are running Toxik and Maya on the same machine, you can work in the Update Toxik mode, which automatically updates the Toxik database and makes the Toxik composition available immediately. To work in Update Toxik mode, Python 2.4 is required. For more information on Python, see www.python.org.
The first time you export a scene from Maya, one Toxik image sequence composition is created for each render layer. In addition, a master Toxik composition is created, which references the Toxik image sequence compositions.
When you export the scene from Maya again, the Toxik image sequence compositions are updated but the master Toxik composition is not. As a result, each image sequence composition contains a new published result, which is not reflected in the master Toxik composition.
You can use the following procedure to recreate the master Toxik composition. This is useful in some cases where:
To update an existing master Toxik composition
Your existing master Toxik composition is updated, as well as each Toxik image sequence composition.
Your Toxik database is automatically updated with the exported information, and you can view the corresponding graph within Toxik.
The output file is created and placed in the specified directory (by default, this is your Maya - Project - Default directory).
On Windows, in the Autodesk Toxik 2007 DOS command shell, enter the following:
c:\python24\python "C:\Program Files\Autodesk\Maya2010\bin\ toxik-maya-import.py" path\toxikComp.imsq -toxikPath "C:\Program Files\Autodesk\Autodesk Toxik 2007" -tempPath %TEMP%
On Linux, in Tcsh, enter the following:
source /opt/Autodesk/Autodesk_Toxik-2007/bin/toxik-env.csh
python_t /usr/autodesk/Maya2010/bin/toxik-maya-import.py path/toxikComp.imsq -toxikPath "/opt/Autodesk/ Autodesk Toxik 2007" -tempPath /var/tmp