Versions Compared

Key

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

...

Atoms supports blend shapes deformation. In order 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. The variation builder automatically exports the blend shapes information, so if you created your variation with the variation builder you have already all set upthis data.

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

Double metadatas 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 metadatas: "atomsRobot_robot1_Headhead_0","atomsRobot_Headrobot1_head_1", "atomsRobot_robot1_Headhead_0" 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 using the "addMetadata" behaviour module or you can animate the blend shapes using the withthe blendShapeAnim module, please have a look at the tutorial section.