// Utility to create a 3D model our of Maya's meshes
        public MeshGeometry3D MakeGeometry(MFnMesh fnMesh)
        {
            var r    = new MeshGeometry3D();
            var mesh = new TriangleMeshAdapater(fnMesh);

            r.Positions       = mesh.Points;
            r.TriangleIndices = mesh.Indices;
            r.Normals         = mesh.Normals;
            return(r);
        }
 // Utility to create a 3D model our of Maya's meshes
 public MeshGeometry3D MakeGeometry(MFnMesh fnMesh)
 {
     var r = new MeshGeometry3D();
     var mesh = new TriangleMeshAdapater(fnMesh);
     r.Positions = mesh.Points;
     r.TriangleIndices = mesh.Indices;
     r.Normals = mesh.Normals;
     return r;
 }