ImageTarget Position/coordinates at the screen.

0 votes
asked Jul 10, 2018 by derzuomaia (1,190 points)
edited Jul 10, 2018 by derzuomaia
I have 4 questions that are basically the same. I'm using EasyAR for Android SDK.

1) How can I get the ImageTarget Position/coordinates relative to the screen?

2) How can I obtain the x,y,z coords of an object (ImageTarget) after the matrix transformations?

3) If I have an x,y coord of the screen (like from a click) how can I know if this x,y coord is inside my target?

4) How can I convert an x,y screen coord to a x,y,z coord from the OpenGL? Vice-versa?

There are several questions on this FAQ about this same topic that I'm asking, but none of them are answered, that's why I'm asking again. Look at this questions:

https://answers.easyar.com/536/can-i-get-the-trackable-images-coordinates?show=536#q536
https://answers.easyar.com/1125/get-the-imagetarget-position-on-screen?show=1125#q1125
https://answers.easyar.com/997/how-to-get-coords-of-imagetarget-android?show=997#q997
https://answers.easyar.com/1399/calculate-which-targetinstance-is-in-center?show=1399#q1399

Please log in or register to answer this question.

Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...