Thanks for your code. I ran the program you wrote and saw that the cube was placed wherever my mouse was clicked. I'm not sure if this solves my problem or not because I still don't understand it. Where's the z=1 that the reproject2D3D assume fit in? I don't see any reference to z=1 in the code.
I was able to accomplish what I wanted using the algorithm I described earlier (iteratively solving for the inverse of the project3D2D).
Thank you for your kind efforts, and thanks for being so quick to respond to the forum questions.
I was able to accomplish what I wanted using the algorithm I described earlier (iteratively solving for the inverse of the project3D2D).
Thank you for your kind efforts, and thanks for being so quick to respond to the forum questions.