Avatar SDK Local Compute Unity plugin
3.1.0
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 generated in the GLTF format and is shown on the scene at runtime.
LocalComputeFullbodyAvatarProvider object is utilized to generated 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 speed up the loading time:
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 the: "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_local_compute/01_fullbody_getting_started_sample_local_compute/scenes/01_fullbody_getting_started_sample_local_compute.unity.