Tutorial to Shift the Mesh Origin Frame to the Center of the Mesh using Meshlab
Overview
FoundationPose
expects the origin frame to be at the center of the mesh. This tutorial walks you through the steps to shift the origin frame of a 3D mesh to the center using Meshlab.
Tutorial Walkthrough
Download and install Meshlab from the [official website](https://www.meshlab.net/#download).
Click on File -> Import Mesh and select the .obj file you want to simplify:
Click on the Draw XYZ Axes in world coordinates. If the axes is already at the center of the mesh (see the example in the end of this tutorial), you can stop this tutorial. Else if, the axes is not at the center of the mesh (see the example in this step of this tutorial), you can follow the next steps to center the axes to the mesh:
Click on the Filters -> Normals, Curvatures and Orientation -> Transform : Translate, Center, set Origin:
Select the Center on Layer BBox from the Transformation drop-down and click on Apply and then Close:
Verify that the mesh origin frame is at the center of the mesh as shown below:
Click on File -> Export Mesh As and select the .obj format: