The problem was
- I was not placing custom meshes as children of the asset node as mentioned in doc.
.
To make the custom mesh or the object a child of the asset node:
i) Load the given canonical face mesh in blender file->import->fbx
then browse for your downloaded canonical face mesh.
(Note: Every SDK has its own reference face mesh and they differ; make sure you use correct one).
ii) Then load your custom 3D model.
iii) Scale and align your model according to the canonical face mesh wherever you want it to be.
iv) In object mode press ctrl + shift +p
and then click your custom model and then click the bones present in canonical face mesh.A selection menu will appear select object in that menu.
This will make your model, the child of the asset node.
- Now you need to add Vertex Group in your model. To do so:
i) Select all vertex in your model in edit mode.
ii) Then go to context object data menu. Click the + icon and name your Vertex ( NOSE_TIP, FOREHEAD_RIGHT, or FOREHEAD_LEFT ). This you have to assign according to your model. Mine is Nose Pin so i choose NOSE_TIP.
Then Click assign.
Now to cross check you can deselect your model and then click your vertex group and click on select button next to assign button you will notice that your model is selected now.
- You need to add modifier. To add modifier
i) Click on the modifier option.
ii) Then click add modifier you will see a drop down menu in that select armature.
iii) Name it as asset as shown above select object as asset and select Nose_TIP as shown above.
Now Delete only the facemesh from the asset.
and import your model.