Maya to glTF 2.0 exporter
This is just version v1.5 compiled for Maya 2023. No functionality has changed. Happy exporting!
Passing the -nbu
flag will make nice buffer URIs
. Among others, this will drop the 0
suffix when only a single .bin
file exists, per buffer.
Passing the -hbu
flag will generate a 256-bit hash for each buffer, and append it to the filename. Mostly for web CDN caching purposes.
No changes, just includes a build for Maya2022, to be tested.
Fixed a bug where exporting just the camera(s) from a scene resulted in a corrupt GLB.
Added new feature to automatically export sampled animation curves with STEP
interpolation.
A typical example is binding the shape.visibility
to the node.scale
(see example scene)
To enable this feature, enter -dsa 2
or (-detectStepAnimations 2
) to the extra flags text box when exporting.
The number 2
means the framerate will internally be increased by a factor of 2. The exporter will analyse the sampled values, and switch to STEP
interpolation when possible, and remove the extra frames.
Quaternions are now negated if needed to give smooth curves
Added arguments to zero animation curves below a certain threshold
-constantTranslationThreshold (-ctt) <threshold>
-constantRotationThreshold (-crt") <threshold>
-constantScalingThreshold (-cst) <threshold>
-constantWeightsThreshold (-cwt) <threshold>
-keepObjectNamespace (-kon)
flagsThe zip file contains the Maya2glTF plugins and scripts for Windows x64, Maya 2017-2020
Fixed logical parent shelf buttons script errors.
When Maya can't provide tangents, print a warning and a hint of the reason
The zip file contains the Maya2glTF plugins and scripts for Windows x64, Maya 2017-2020
Added new feature to set logical parents, overriding Maya's hierarchy. Handy when you drive joints in world space with Maya constraints, but want a different hierarchy in glTF, and don't want to maintain two different rigs in Maya. Added two icons in the glTF shelf for settings and removing these logical parents.
The zip file contains the Maya2glTF plugins for Windows Maya 2017-2020
Fixed exporting just cameras without meshes
Added -ext
flag (-externalTextures
) to not embed textures in the glb
file
The zip file contains the Maya2glTF plugins for Windows Maya 2017-2020
-cam name
flagxmag
and ymag
are set to 1 because the spec isn't clear about these)-glb
option was not passed