Avatar SDK Local Compute Unity plugin  3.1.0
Realistic avatar generation toolset for Unity3D
Scene #04: Full Body Export Sample

The primary use case of this sample is exporting a model for further usage in third-party applications.

Besides the parameters from the Full Body Parameters Sample there are few additional options for model exporting.

Mesh Format
The model can be exported in FBX, GLTF, GLB, OBJ and PLY formats. OBJ and PLY formats don't support rigging and skinning.
You can configure different formats for different sub-meshes such as haircuts, outfits and blendshapes.
Blendshapes also support BIN format. The BIN file format specifies the consequent vertices for the mesh as a floating-point values (X, Y, Z).

Embed
FBX, GLTF, GLB formats support sub-meshes. If this option is enabled for haircuts, outfits or blendshapes, they are included as sub-meshes into a file with an avatar mesh. Otherwise, they are stored in separate files.

Embed Textures
If format supports embedding textures (i.e. FBX or GLB), this option indicates whether to embed textures or store them as separate files. If the format does not support embedding textures, they are saved as separate files.

Implementation

Implementation details of this sample can be found in the FullbodyExportSample.cs script.

Location: Assets/itseez3d/avatar_sdk/samples_local_compute/04_fullbody_export_sample_local_compute/scenes/04_fullbody_export_sample_local_compute.unity.