Avatar SDK  1.7.0
Realistic avatar generation toolset for Unity3D
Scene #05: Resources Sample

This scene demonstrates new API introduced in Avatar SDK v. 1.5.0.

The release 1.5.0 introduced a new concept: the avatar resources. Resources are auxiliary features of objects that can be calculated with the avatar and then used in run time. Currently there are:

  • Blendshape resources
  • Haircut resources

The sample demonstrates how to use resource API to control which types of resources you want to use with your avatar. E.g. if you want to use lipsync functionality (such as Oculus Lipsync SDK) with your avatar you may want to generated additional viseme blendshapes, but if you don't use lipsync you should tell the SDK to skip these blendshapes to save calculation and download time.

The SDK (either Cloud or Offline) will tell you which resources are available for your account (this is the full list that you see in the UI). Then before the avatar is generated you can specify which resources you need and which you don't need.

Accounts with more advanced paid plans (currently "Plus" and above) will have more resources (e.g. 40+ additional haircuts) available for their avatars.

It is possible to add custom resources (haircuts and blendshapes) to your account. Please contact us at suppo.nosp@m.rt@a.nosp@m.vatar.nosp@m.sdk..nosp@m.com to implement this, we will provide the implementation details on custom basis. Once the custom resources are added, the SDK will return more resources in the resource list.

See ResourcesSample.cs for implementation details.

See also FAQ and the getting started instructions on the main page: Main Page.