std::cout<<"Warning: Number of shape dimensions is not equal to three times the number of vertices. Something will probably go wrong during the loading."<<std::endl;
}
// Read shape projection matrix
MatunnormalisedPcaBasisShape(numShapeDims,numShapePcaCoeffs,CV_32FC1);// m x n (rows x cols) = numShapeDims x numShapePcaCoeffs
std::cout<<"Loading shape PCA basis matrix with "<<unnormalisedPcaBasisShape.rows<<" rows and "<<unnormalisedPcaBasisShape.cols<<" cols."<<std::endl;
std::cout<<"Warning: Number of shape dimensions is not equal to the number of dimensions of the mean. Something will probably go wrong during the loading."<<std::endl;
std::cout<<"Warning: Number of coefficients in the PCA basis matrix is not equal to the number of eigenvalues. Something will probably go wrong during the loading."<<std::endl;
texCoords.push_back(Vec2f((xCoords[i]-*minMaxX.first)/divisorX,1.0f-(yCoords[i]-*minMaxY.first)/divisorY));// We rescale to [0, 1] and at the same time flip the y-coords (because in the isomap, the coordinates are stored upside-down).