Support for non triangle meshes