Avatar SDK Unity Cloud plugin
3.0.1
Realistic avatar generation toolset for Unity3D
|
This sample shows how to generate a naked full body model with the predicted haircut. The full body avatar is downloaded in the GLTF format from the Cloud and is shown on the scene at runtime.
Full body model generation is available on the Pro subscription plan only.
CloudFullbodyAvatarProvider object is utilized to generated and download full body avatar model.
To read the model in GLTF format and show it on the scene, use the FullbodyAvatarLoader object. This object is also responsible for showing haircuts and outfits.
By default we generate additional (Physically Based Rendering) textures for the body mesh:
If you don't need these textures you can disable them to reduce the size of the downloaded data:
These textures are applied automatically when the FullbodyAvatarLoader loads the model. You can also turn off them, with the property: UseBodyPBRTextures
The body and outfits meshes are rendered using the Standard shader. The FullbodyMaterialAdjuster is responsible for materials configuration. If you need to use any other specific shader or adjust rendering properties you have to implement corresponding changes in this class or modify templates materials that are located in: "Assets/itseez3d/avatar_sdk/sdk_core/resources/fullbody_materials" project directory.
Implementation details of this sample can be found in the FullbodyGettingStartedSample.cs script.
Location: Assets/itseez3d/avatar_sdk/samples_cloud/07_fullbody_getting_strated_sample_cloud/scenes/07_fullbody_getting_started_sample_cloud.unity.