Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The XGen archive must first be created, while 3Delight is set as the XGen renderer.
  2. The resulting archive can be then used in another scene's XGen description.
Info
The XGen "Archive" primitive type requires usage of 3Delight for Maya's RIB Archive feature, which is limited to 3Delight Studio Pro licenses.

Warning
titleMaya 2015 / 2015 Extension Bug

There appears to be a bug in the XGen archiving Python script involving object instances.

Expand
titleMore details...

A fixed xgmArchiveExport.py file is available here. Keep a copy of the original file and use the fixed file as a replacement for it. The file belongs in the following folder:

Operating SystemPath
OS X

/Applications/Autodesk/maya2015/plug-ins/xgen/scripts/xgenm/xmaya/

WindowsC:\Program Files\Autodesk\Maya2015\plug-ins\xgen\scripts\xgenm\xmaya\
Linux/usr/autodesk/maya2015-x64/plug-ins/xgen/scripts/xgenm/xmaya/

This bug has been fixed in Maya 2016, so please do not install the modified xgmArchiveExport.py mentioned above on Maya 2016 and more recent.

...


Creating the XGen Archive (Step 1)

...

For rendering a RIB file containing a XGen object with renderdl, you will need to add the path to the XGen libraries that come with Maya to the PATH (windows), LD_LIBRARY_PATH (linux) or DYLD_LIBRARY_PATH (OS X) environment variable. The XGen objects are procedurally generated during rendering, and this operation uses the XGen libraries.

Operating SystemEnvironment VariableEnvironment Variable Example Value
OS X
DYLD_LIBRARY_PATH
${DYLD_LIBRARY_PATH}:/Applications/Autodesk/maya2015/Maya.app/Contents/MacOS:/Applications/Autodesk/maya2015/plug-ins/xgen/lib
Linux
LD_LIBRARY_PATH
${LD_LIBRARY_PATH}:/usr/autodesk/maya2015-x64//plug-ins/xgen/lib:/usr/autodesk/maya2015-x64/lib;
Windows
PATH
C:\Program Files\Autodesk\Maya2015\plug-ins\xgen\bin;C:\Program Files\Autodesk\Maya2015\bin

 

 

 

 

...