问题 It sounds easy for me until I tried The implementation uses lib igl but the problem is not there but in my lack of math knowledge :-\ Eigen::MatrixXd p; const int size = 128; p.resize(size * size, 3); int index = 0; for (int y = 0; y < size; y++) { double ypos = (double(y) / double(size - 1)) - 0.5; for (int x = 0; x < size; x++) { double xpos = (double(x) / double(size - 1)) - 0.5; const double sphericalTheta = xpos * (pi / 2.0); const double sphericalPhi = ypos * (pi / 2.0); const double mX