Avatar Export
July 29, 2022 ยท View on GitHub
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 Avatarcan be exported as Avatar.
Steps:
-
Create a folder, name "ImportScene" in the Assets folder.
-
Copy all the PMX and related files into Assets/ImportScene.
![]()
- 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.
![]()
- Open the
BVA/Export/Export Avatarfrom the Menu.
![]()
- Assign the prefab to Export root, two errors will show up as flowering,click Fix it in turn to fix all the errors.
![]()
- Toggle the Export AudioClip, here I want to export two audio clips.
![]()
- 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.
![]()
- Click
Exportbutton and select the folder you want to save on the disk.
Explains:
- The
BlendshapeMixerComponent let the the face capture work by aggregating the mesh's blendshapes. - The
BVAMetaInfoComponent contains the meta info which provide file description but no functional impact.