All Projects → matiascodesal → maya-glTF

matiascodesal / maya-glTF

Licence: MIT license
glTF 2.0 exporter for Autodesk Maya

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to maya-glTF

motionPath
Toolchefs Motion Path
Stars: ✭ 31 (-74.38%)
Mutual labels:  maya, maya-plugin, maya-python
rush
⚡ Simple command launcher for maya
Stars: ✭ 64 (-47.11%)
Mutual labels:  maya, maya-plugin, maya-python
MayaPartioTools
MayaPartioTools is an open-source plugin to visualize and import particle data in Maya.
Stars: ✭ 20 (-83.47%)
Mutual labels:  maya, maya-plugin
jlr sort attributes
A tool to sort the Channel Box attributes in Autodesk Maya.
Stars: ✭ 19 (-84.3%)
Mutual labels:  maya, maya-python
node calculator
Create Maya node-network by entering a math-formula.
Stars: ✭ 56 (-53.72%)
Mutual labels:  maya, maya-python
GLTFKit2
A glTF 2.0 asset loader and exporter for Objective-C and Swift.
Stars: ✭ 30 (-75.21%)
Mutual labels:  gltf, gltf2
webgl-gltf
GLTF Viewer For WebGL
Stars: ✭ 26 (-78.51%)
Mutual labels:  gltf, gltf2
playblastOIIO-maya
Implements a new 'playblast' command that uses OpenImageIO (OIIO) to process and write image data.
Stars: ✭ 29 (-76.03%)
Mutual labels:  maya, maya-plugin
gdx-gltf
GLTF 2.0 3D format support and PBR shader implementation for LibGDX
Stars: ✭ 156 (+28.93%)
Mutual labels:  gltf, gltf2
Mayanomicon
Custom nodes and introspection with the maya API
Stars: ✭ 28 (-76.86%)
Mutual labels:  maya, maya-plugin
verge3d-blender-addon
WebGL exporter add-on ripped from Verge3D for Blender toolkit
Stars: ✭ 91 (-24.79%)
Mutual labels:  gltf, gltf2
Exporters
Exporters for Babylon.js and gltf file formats
Stars: ✭ 302 (+149.59%)
Mutual labels:  maya, gltf
gltf-bounding-box
Computes the global bounding box of a gltf model
Stars: ✭ 18 (-85.12%)
Mutual labels:  gltf, gltf2
orkid
Orkid Media Engine (C++/Lua/Python3/Linux/MacOs/OpenVR/Qt5)
Stars: ✭ 20 (-83.47%)
Mutual labels:  gltf, gltf2
docker-gltf-to-udsz
Docker container for converting gltf files into apple usdz quicklook files
Stars: ✭ 42 (-65.29%)
Mutual labels:  gltf, gltf2
gt-tools
GT Tools is a free collection of scripts for Autodesk Maya
Stars: ✭ 44 (-63.64%)
Mutual labels:  maya, maya-python
cameraLattice
Maya camera lattice
Stars: ✭ 35 (-71.07%)
Mutual labels:  maya-plugin, maya-python
libgltf
glTF 2.0 parser/loader for C++11, supports many extensions likes `KHR_draco_mesh_compression`, `KHR_lights_punctual`, `KHR_materials_clearcoat`, and more.
Stars: ✭ 55 (-54.55%)
Mutual labels:  gltf, gltf2
xformArrayNodes
Maya plugin with nodes designed to operate on transform components.
Stars: ✭ 27 (-77.69%)
Mutual labels:  maya, maya-plugin
MayaPlugin-UVAutoRatio
Autodesk Maya plugin for correcting the texture-to-world area ratio on objects, meshes and custom selections.
Stars: ✭ 28 (-76.86%)
Mutual labels:  maya, maya-plugin

maya-glTF

glTF exporter plugin for Autodesk Maya

This plugin is compatible with most modern versions of Maya. Tested with Maya 2015+. Most of the glTF spec has been implemented, but this is still a work in progress. For best material results use StingrayPBS shader. Report any issues here!

Water Bottle Export

Installation

  1. Download the ZIP file using the green button at the top of this page.
  2. Extract the ZIP and copy the files to their appropriate folders:
  • glTFExport.py and glTFTranslatorOpts.mel from the scripts folder need to be copied to the scripts folder here:
OS Path
(Windows) C:/Users/<username>/Documents/maya/<version>/scripts
(Mac OS X) Library/Preferences/Autodesk/maya/<version>/scripts
(Linux) $MAYA_APP_DIR/maya/<version>/scripts
  • glTFTranslator.py from the plug-ins folder needs to be copied to the plug-ins folder here (create a plug-ins folder if you don't have one):
OS Path
(Windows) C:/Users/<username>/Documents/maya/<version>/plug-ins
(Mac OS X) Library/Preferences/Autodesk/maya/<version>/plug-ins
(Linux) $MAYA_APP_DIR/maya/<version>/plug-ins

Usage

Exporting through the File menu

  1. Launch Maya.
  2. Open the Plug-in Manager
    • Plug-in Manager 1
  3. Check on "Loaded" for "glTFTranslator.py" plug-in.
    • Plug-in Manager 2
  4. Export your scene: File->Export All...
    • File->Export Selection... not currently supported.
  5. Choose "glTF Export" for the "Files of Type" option.
  6. Optionally, set any file type specific options as well.
    • File options

Exporting as a part of a script

import glTFExport   
glTFExport.export(r"C:\Temp\test.glb", resource_format='bin', anim='keyed', vflip=True)

Export parameters

Parameter Description
file_path Path to export the file to. File extension should be .glb or .gltf
resource_format How to export binary data. Only applies to .gltf format. Valid value: 'bin', 'source', 'embedded'. bin - A single .bin file next to the .gltf file. source - Images are copied next to the .gltf file. embedded - Everything is embedded within the .gltf.
anim How to deal with animation. Valid values: 'none', 'keyed'. none - Don't export animation. keyed - Respect current keys
vFlip GL renderers want UVs flippedin V compared to Maya. Set to False if you don't need to fix the flipping.

Current Features

  • Export whole scene from Maya
  • Exports transform nodes and meshes with hierarchy
  • Exports single material shader per mesh currently.
    • Picks the first shader.
  • Lambert, Blinn, Phong use a PBR conversion approximation
    • Base color comes from color attribute as texture or value.
    • Metallic and roughness are derived from the other attribute values and do not support textures.
  • Recommend StingrayPBS shader for best material conversion.
  • Node animation supported for translation, rotation, scale.
  • glTF and glb supported
  • Options for embedded binary data, single external bin, or preserved external images.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].