Home

Awesome

Note: This repository is now read-only

As of October 2019 we will no longer be updating this repo or accepting new Pull Requests or issues. The code has migrated to the Autodesk maya-usd repo where it will continue to be maintained and developed by Animal Logic, Autodesk, Luma Pictures and others.

What is AL_USDMaya?

Represent Maya data in Maya, and USD data in USD - for example, we use AL_USDMaya to allow native Maya entities such as complex maya referenced rigs (and other assets not easily represented in USD) to be embedded in USD scenes and imported into Maya in their native form. The plugin maintains a "live" connection between the USD and Maya scene, and can respond to various events, keeping the Maya and USD scenes in sync. This affords a dynamic user experience which allows artists to swap in and out different representations of objects in their scene (e.g Rigs for Geometry Caches, different levels of detail etc). Additionally, heavyweight scene elements such as sets/crowds can be represented in OpenGL in the Maya viewport, and manipulated either with USD or Maya tools and UI components.

Motivation

Why did we need an alternative USD Maya Bridge to the USDMaya plugin that comes with USD?

Pixar's USDMaya plugin was originally designed for quite a specific (Set Dressing) workflow using Maya's Scene Assembly Feature. Maya is our most important DCC app, and while, like in the Pixar plugin, we try and avoid representing most of our data (particularly large and complex things) in the Maya native data model, we do use it as the hub of our Scene Building and artist workflow - our Layout Artists, Animators, Set Dressers and Lighters work mostly in Maya, so it made sense to try and implement something that was more tailored to the way we work at Animal Logic. We played with the idea of modifying/forking the existing Pixar USDMaya, but in the end we diverged so much that it didn't make sense. We do have a plan to merge these two at some point and get the best of both worlds. There is a partial feature comparison here

Contact

We have a google group for discussion and technical assistance: https://groups.google.com/forum/#!forum/al_usdmaya-discussion. For CLAs or to contact us directly, use email usdmaya@al.com.au.

Videos

We have some videos explaining some of the workflows we support. We are hoping to add to this as we go:

Detailed Documentation

Developer Documentation

Source code documentation

How is the repository layed out?

The important parts:

LocationDescription
libThe core AL_USDMaya Library
pluginmaya plugin and test plugin
samplesmixed bag of test inputs
schemasSchemas - Maya specific schemas for which we have translators
translatorsReference Schema Translator Plugins
tutorialsa few tutorials
utilsFor now just contains the event System (AL_EventSystem)
mayautilsa library of code which depends on Maya only (AL_MayaUtils)
usdutilsa library of code which depends on USD only
usdmayautilsa library of code which depends on USD and Maya (AL_USDMayaUtils)

Libraries

PackageLibraryFolder HierarchyNamespacesMajor Dependencies
AL_EventSystemAL_EventSystem.soutils/AL/eventAL::event
AL_MayaUtilsAL_MayaUtils.somayautils/AL/maya/utilsAL::maya:utilsMaya
AL_USDUtilsAL_USDUtils.sousdutils/AL/usd/utilsAL::usd::utilsUSD
AL_USDMayaUtilsAL_USDMayaUtils.sousdmaya/AL/usdmaya/utilsAL::usdmaya::utilsUSD, Maya

The core AL_USDMaya library

Best to have a look here but a quick summary here:

LocationDescription
lib/AL_USDMaya/AL/usdmaya/cmdsMaya MpxCommands
lib/AL_USDMaya/AL/usdmaya/fileioFile Import/Export code including some general purpose USD<->Maya interchange utilities e.g DGNodeTranslator DAGNodeTranslator
lib/AL_USDMaya/AL/usdmaya/nodesMaya MpxNodes such as the proxy Shape