Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Atoms supports blend shapes deformation. In order to To use blend shapes during the simulation, the blend shapes target targets must be exported using the export mesh tool. The export mesh exporter tool writes the blend shape data of each target (P, N, id and name information of each target ) inside the mesh file. vThe The variation builder automatically exports the blend shapes information, so if you created your variation with the variation builder you have already all setupthis data.

When you load a mesh inside the variation manager atoms load , Atoms also loads all the blend shape targets if they exists. In order exist.

Double metadata named following the given naming convention must be used to control the weight of each blend shapes some special metadata are used.These metadata should have this format: shape: (AGENT TYPE NAME)_(MESH_NAME)_(TARGET_ID)

So for example For instance, if you added some three blend shapes to the atoms robot head mesh ("robot1_head"), you can activate would control them with the following double metadata: "atomsRobot_robot1_Headhead_0","atomsRobot_robot1_Headhead_1", "atomsRobot_robot1_Headhead_02" etc. Please remember that the geometry name is not the mesh file name, but the name used inside the Variation manager.

You can add these metadatas usign metadata using the "addMetadata" behaviour module, or you can animate the blend shapes using with the blendShapeAnim module, please have a look to at the tutorial section.