Legacy Reference

Exporting Static Meshes

To export static geometry, do the following steps. Make sure you save your scene before you export geometry.

To export static geometry

  1. In Maya, choose the Lumberyard tab, and then choose the Lumberyard Tools beaver icon.

  2. Select a geometry or group node in Maya, then choose Add Selected to add the node or group to the Geometry Export list window. You can only add one node or group (can be a group with children groups also) to the export list at a time. Select the check box to add the node or group for export. Choose the X to remove the node from the Geometry Export list. Choose the node name to edit the text as needed.


    Choose Select to see the node in Maya that corresponds to the export node in the Geometry Export list.

  3. In the drop-down list, select Geometry (.CGF).

  4. For Export Path, choose the folder icon and select a directory path. By default, this path is the same as the directory of the current Maya file and all nodes are exported to this directory. Choose Explorer View to view the directory.

  5. Expand Advanced Options and choose the following options as needed for the export node you selected:

    • Merge Nodes – Compiles geometry from multiple nodes into a single flattened mesh. Only supported for non-skinned geometry.

    • 8 Weights (skin only) – Exports up to eight weights per skinned vertex. Generally used for faces or blend shapes.

    • Vertex Colors – Exports vertex colors.

    • 32 Bit Vertex – Enabling this will add 32-bits of precision to position each vertex accurately when the mesh is located far from its pivot.

      When working in centimeter units, 32-bit vertex precision is useful when the geometry is more than 10 meters from the pivot. When working in meter units, 32-bit vertex precision is useful when geometry is more than 100 meters from the pivot.

    • For Custom Path, choose the folder icon and select a specific file path for your geometry. You can save each geometry to an individual location. This path overwrites the Export Path from the previous step.

  6. Repeat as needed for each node you want to export. Make sure the check box is selected for each node you wish to export; otherwise that node will not be exported.

  7. With the desired node or group selected in the Maya scene, in the Material Export section, choose Add Group. This creates a material group and adds all of the materials that were applied to the mesh.

  8. When finished, choose Export Geometry.