Animation / Maya
This page contains the information about Maya's animation types which can be used with Verge3D, as well as supported playback options and means to control the animation interactively.
- Setting Up in Maya
- Playback Options
- Animation Control with Puzzles
Setting Up in Maya
Animation keyframes can be added in standard ways in Maya, by using the Key > Set Key from the Key menu in the Animation menu set or pressing S on the keyboard.
For performance reasons we recommend setting keys separately, only for channels which are required to be animated, e.g:
- Translate - using Key > Set Key on Translate menu or Shift-W hotkey.
- Rotate - using Key > Set Key on Rotate menu or Shift-E hotkey.
- Scale - using Key > Set Key on Scale menu or Shift-R hotkey.
An object can be animated in Verge3D by using Maya's skeletons. Verge3D support maximum 4 weights per joint (4 most influential weights are selected, others are ignored).
Skeletons can be animated directly by setting transformation keys on joints or by utilizing auxillary controllers such as IK handles/effectors. To animate joints indirectly, enable their Custom Frame Range property in the attribute editor and set proper From/To as frame values. See here for more info.
Blend Shape Animation
You can add blend shapes to an object in standard ways in Maya and then animate their weights using keyframes.
Keyframed material animation is not supported in Verge3D for Maya yet. However, by using procedural animation and the set color or set value puzzles you can manipulate material parameters in real time.
Verge3D Global Animation Settings
By using the Animation section of Verge3D Export Settings you can assign global animation parameters which will affect all animatable objects in your scene.
- Export Animations - export scene animations to be used in Verge3D.
- Export Within Playback Range - by default Verge3D exporter honors per-object animation keyframe ranges. Enabling this option will force exporter to honor global playback range.
- Keyframes Start with 0 - edit exported animation keyframes so they always start with frame 0.
Verge3D Per-Object Animation Settings
Each object in Maya is assigned with Verge3D settings, including the settings for animation playback.
- Auto Start - whether this object's animation will start after the scene is loaded.
- Loop Mode - playback mode: Repeat - plays from the start to the end and repeats, Once - plays one time and stops, Ping Pong - plays from the start to the end and then in reverse.
- Repeat Infinitely - whether this object's animation will be played all over again. Valid only for Repeat and Ping Pong modes.
- Repeat Count - how many times the animation will be played. Valid only for Repeat and Ping Pong modes if Repeat Infinitely is disabled.
- Offset - how many frames will be skipped before the animation starts.
- Custom Frame Range - enable and specify From/To values to override object's keyframe ranges or global animation timeline. Activating this property will force an object to be animated even if it does not have any keyframes. This is useful to bake indirect animation such as IK handles/effectors affecting joints movements.
The frame rate value (default - 24 fps) which affect the playback speed can be changed using the Playback options panel, located next to the Range Slider.
Animation Control with Puzzles
You can use animation puzzles for playing back a pre-made animation (click on the link for more details).
Animation can also be implemented with other visual scripting blocks - see Camera and Time puzzles.
Feel free to ask on the forums!