Avatar SDK Offline Unity plugin
1.9.1
animted_face and head_1.2 pipelines
|
This scene demonstrates how to get various LOD (Level Of Details) for the generated avatar's mesh and blendshapes.
Animated Face pipeline Nine LODs available for the avatar generated by the Animated Face pipeline.
Head 1.2 pipeline Eight LODs available for the avatar generated by the Head 1.2 pipeline.
There are buttons to generate avatar: from the predefined photo, from the photo stored on the filesystem. On the mobile devices, it is possible to take a camera photo.
Toggle switches to choose Head 1.2 or Animated Face pipeline. These switches available only for the Cloud version of the SDK.
The panel in the bottom right corner contains toggles to switch between different levels of details.
There are controls to apply blendshapes for the avatar in the bottom of the scene.
Also, there is a possibility to export avatar with the given LOD to OBJ or FBX formats.
See the LODSample.cs for implementation details. The key component is the IAvatarProvider. To get a particular LOD mesh the GetHeadMeshAsync method is used.
See also FAQ and the getting started instructions on the main page: Main Page.