Getting Started#

Quickstart#

Get an API Key#

Set an environment variable , NVCF_API_KEY, with a valid API key

  • To get a key, click the green Get API Key text on the right of the page and proceed with instructions.

../../../_images/get_api_key.png

Set up Maya-ACE module for Maya#

Download the mace package, unzip and copy contents to a Maya module path

../../../_images/copy_mace_module.png

Download sample data#

Download the sample maya scene and sample audio files: English(male) or Chinese(female)

Launch Maya#

Launch Maya, load maya_aceclient plugin, and open the sample scene.

../../../_images/samplescene_static.png

Configure Time Slider#

Adjust Time Slider preferences : framerate=30, playback speed=30fps, looping=once

../../../_images/timeline_preferences.png

Disable Cached Playback on the Time Slider

../../../_images/disable_cached_playback.png

Import an audio into the Maya scene and set it to the Time Slider sound

../../../_images/import_audio_menu.png

Adjust Time Slider range to fit to the audio length

Set up AceAnimationPlayer with an audio#

  • You may turn off DAG Objects only from the Display menu to see AceAnimationPlayer1 on the outliner window.

../../../_images/disable_dag_only.png

Select AceAnimationPlayer1 node and open Attribute Editor

../../../_images/select_aceanimationplayer.png
  • To open attribute editor, click menu -> Windows -> General Editors -> Attribute Editor

../../../_images/open_attribute_editor.png

Click the option menu next to Audiofile attribute, and select the audio imported before.

../../../_images/audiofile_menu.png

Request Animation and Play#

Click Request New Animation button. Wait for the Received ### frames message.

Click Maya’s play button. Watch how face is moving

../../../_images/samplescene_play.gif

Setting up from Sample Assets#

Get an API Key and Setup Maya-ACE#

Get an API key and setup Maya-ACE for Maya. Follow Quickstart

Download sample data#

Launch Maya and load sample assets#

Launch maya with a new scene. Load maya plugins; maya_aceclient and fbxmaya

../../../_images/plugin_manager.png

Create references of sample fbx files

../../../_images/reference_editor.png

Configure Time Slider#

Adjust Time Slider preferences : framerate=30, playback speed=30fps, looping=once

../../../_images/timeline_preferences.png

Disable Cached Playback on the Time Slider

../../../_images/disable_cached_playback.png

Import one of the sample audios

../../../_images/import_audio.png

Adjust timeslider range to fit to the audio

../../../_images/timeslider_waveform.png

Create and Attach an AceAnimationPlayer#

Select c_headWatertight_mid of Mark, and click menu->ACE->Attach a new Animation Player

../../../_images/menu_attach_player.png
  • (Optional) Tips to optimize the viewport for faces

    • Hide unused groups; such as c_mouth_grp_mid, r_eye_grp_mid, l_eye_grp_mid, root

    • Setup a viewport camera with focal length between 75mm and 150mm looking at the face(s)

    • Change viewport camera’s Near Clip Plane to 10

    • Assign standardSurface1 material to face(s)

Configure AceAnimationPlayer node#

Open Attribute Editor, Select AceAnimationPlayer1 node

../../../_images/open_attribute_editor.png

Enter a valid Network Address, an Api Key, and a Function ID on the Attribute Editor.

../../../_images/attribute_network_info.png

To change audio, Select an option from the AudioFile, and also update Time Slider to use the same audio.

../../../_images/select_audio.png

Request Animation and Play#

Click Request New Animation button, and wait for the Received ### frames message.

Click Maya’s play button. Check animation on Mark’s face.

../../../_images/mace_play_mark.gif

Connect the AceAnimationPlayer to a new blendshape#

Select both AceAnimationPlayer1 and c_headWatertight_mid of Claire in order, and click menu->ACE->Connect an existing Animation Player

../../../_images/select_to_connect.png
  • You may turn off DAG Objects only from the Display menu to see AceAnimationPlayer1 on the outliner window.

../../../_images/disable_dag_only.png

Click Maya’s play button again. Check animation on both faces.

../../../_images/mace_play_both.gif