Skip to content

Exports each Maya node as an FBX with JSON file for transform information in scene. Comes with Unity importer. Will probably later add an importer for Unreal.

License

Notifications You must be signed in to change notification settings

ordinc/Maya-Scene-Exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maya Scene Exporter

License

Alt text

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

  1. Object transforms stored in JSON file and objects exported as FBX with the identity transform.
  2. When multiple objects share the same shape, only one object is exported as an FBX.

Example

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.

Alt text

The Unity import tool imports the 2 FBX models and creates instances of each model according to the JSON file. Alt text

Install

  1. Copy SceneExporter folder into your Maya app dir.
  • Windows: \Users<username>\Documents\maya
  • Mac: ~/Library/Preferences/Autodesk/maya
  1. Create shelf button to run Python command:
import SceneExporter; SceneExporter.show()

About

Exports each Maya node as an FBX with JSON file for transform information in scene. Comes with Unity importer. Will probably later add an importer for Unreal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 76.4%
  • C# 23.6%