The Maya Scene Exporter handles exporting multiple objects to a game engine (e.g. Unity) as FBX and JSON files.
This tool gives artists the freedom to build scenes for game engines inside of Maya instead of having to manually export each object and then build the scene in a separate tool.
Features
- Object transforms stored in JSON file and objects exported as FBX with the identity transform.
- When multiple objects share the same shape, only one object is exported as an FBX.
In this example scene, we export a bookshelf full of books. There are multiple copies of the book model that all share the same shape node. The tool identifies this during export and only exports one FBX model for the book while storing the transform information for each instance in a JSON file called Bookshelf.SceneExport.json.
The Unity import tool imports the 2 FBX models and creates instances of each model according to the JSON file.
- Copy SceneExporter folder into your Maya app dir.
- Windows: \Users<username>\Documents\maya
- Mac: ~/Library/Preferences/Autodesk/maya
- Create shelf button to run Python command:
import SceneExporter; SceneExporter.show()