Hi all,
I was wondering if someone could help me out.
I am currently doing a project using nyartoolkit ( Augmented reality ) and Java. I have altered the code so I can place multiple objects on one marker.
So far so good and everything works fine.
The problem arises when I need to know the coordinates for my extra object(s) ( e.g. I need to know if the object is in a certain range of the screen ). I know the position of the marker in world space but the extra object only gives me back the initial coordinates. ( when the marker was at 0,0,0 the additional object was at -3, 1, 2 ( theoretically ) )
What I need to know now is when my marker is at ( 20, 2, 30 ) how do I calculate where my additional object is?
I hope the above is clear enough, if it isn’t please let me know.
Thanks,
Silvio.