Skip to content

Latest commit

 

History

History
40 lines (21 loc) · 1.44 KB

Avatar.md

File metadata and controls

40 lines (21 loc) · 1.44 KB

Avatar Export

In this Example, we will import widely used format PMX(MMD model) into Editor, then export it as Avatar.

Fundamentally, any kind of skinned mesh with a valid Humanoid Avatar can be exported as Avatar.

Steps:

  1. Create a folder, name "ImportScene" in the Assets folder.

  2. Copy all the PMX and related files into Assets/ImportScene.

glb

  1. After processing, a Prefab folder will be created, and a prefab with the same name of pmx file will show up in the project view.

glb

  1. Open the BVA/Export/Export Avatar from the Menu.

glb

  1. Assign the prefab to Export root, two errors will show up as flowering,click Fix it in turn to fix all the errors.

glb

  1. Toggle the Export AudioClip, here I want to export two audio clips.

glb

  1. Click the prefab, you will notice two component has Added to the GameObject, note that if you assign the Export root from Scene GameObject, these components should also added. Fill the contents as you wish.

glb

  1. Click Export button and select the folder you want to save on the disk.

Explains:

  1. The BlendshapeMixer Component let the the face capture work by aggregating the mesh's blendshapes.
  2. The BVAMetaInfo Component contains the meta info which provide file description but no functional impact.