BPlus, I think the solution is directly contained in the 3D point itself. Coordinates X, Y, Z. If Z were the same as the depth of the 2D screen, that is, the depth of 3D would be at the same depth as the 2D screen, then X in 2D would be the same as X in 3D and Y as well. (I am thinking of looking directly at the screen). If the depth is higher, the point moves toward the center of the screen (in OpenGL, the starting point is 0.0.0 in the middle of the screen). Problem is, what this ratio is. At least I think so.
BPlus, on the proposal to use the function from OpenGL. It would be nice, but I'm a pessimist. Well, I'll try it somehow (in own way), myself, although it's probably very beyond my knowledge. Thanks for support.