View Full Version : transfering x,y coordinates from one machine to another

08-11-2013, 01:18 AM
down vote favorite

I have two gl widgets inside two programs running on different machines. When user clicks a coordinate in the first machine, x and y coordinates should be sent to the other with the same accuracy. Also take into account that the 1st machine send image shots of the same program to my machine, and then using gl function I read raw image data and create the texture. My point is that, as long as we are dealing with images and are able to scale the image, the resolution and screen sizes of two different machine will not matter. whatever the x,y coordinate in the 1st machine is at any instant, if I get the image and scale it, I can get the exact xy coordinates in the other machine.

what is your opinion?