working on triangle meshes