-
Notifications
You must be signed in to change notification settings - Fork 171
Open
Description
`
import trimesh
def convert_mesh(mesh, corr_setup):
v = np.vstack((mesh.vertices, np.zeros_like(mesh.vertices)))
return trimesh.Trimesh(vertices=corr_setup['mtx'].dot(v), faces=corr_setup['f_out'])
BFM_mesh = trimesh.load(BFM_mesh_fname)
trimesh.Trimesh(vertices=v_out, faces=model.f).export(FLAME_out_fname)
`
Metadata
Metadata
Assignees
Labels
No labels