Log in or register to post comments

Screen Coordinates:Screen space to target space

April 2, 2013 - 8:28pm #1

Hi everyone,

I am trying to move some image markers in PC by using my android tablet. My tablet now can talk to PC via wifi. I also can get pose of the marker respect to the camera: 

https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/pose-estimation-single-image-targets

Now I have some problems about how to calculate the touch on the tablet's screen respect to the real world for moving markers to the right place which I touched on tablet's screen.  

I found  https://developer.vuforia.com/resources/dev-guide/screen-coordinates 

But it is C++ and I need some c# reference in unity extension. 

Thanks 

 

  

Screen Coordinates:Screen space to target space

April 3, 2013 - 2:17am #3

Thanks a lot, DavidBeard.

 

I tried this but it returns coordinates only when I touch the virtual object.

Can it detect any points in the real world ? As I would like to move some real images to the point where I touched on the screen.

 

Screen Coordinates:Screen space to target space

April 2, 2013 - 9:15pm #2

There may be a simpler way to accomplish this if you are working in Unity. See: http://answers.unity3d.com/questions/180991/touch-point-to-world-coordinate-and-local-coordina.html

Log in or register to post comments