SyntaxBomb - Indie Coders

Languages & Coding => AppGameKit ( AGK ) => Topic started by: Naughty Alien on July 27, 2018, 03:48:39

Title: AGK AR
Post by: Naughty Alien on July 27, 2018, 03:48:39
..hi guys..im messing a bit with AR in AGK..having said this, i understand that anchor(point where 3D model is attached) can be created on two ways, as far as i can see :

-ARCreateAnchorFromHitTest
-ARCreateAnchorFromPlane

..So, how to set anchor based on marker such as bar code, image and so on??..
Title: Re: AGK AR
Post by: Qube on July 27, 2018, 22:51:23
Quote..So, how to set anchor based on marker such as bar code, image and so on??..
Not quite sure why you'd want to put an anchor at an image location - There are commands to translate 2D coordinates into 3D world ones to place 3D objects.

Unless you want to be able to detect things like bar codes in the real world? then I would of thought something so distinct would be recognised as a plane.

I could be missing the whole point so perhaps a bigger explanation for us dummies would be handy ;D

EDIT - If you are wanting to do AR image recognition then those commands have not been added to the AR side of AGK and you'd need to shout loud and clear that you want / need them over on the TGC forums :)
Title: Re: AGK AR
Post by: Naughty Alien on July 28, 2018, 08:44:09
 :))

well..probably you are correct..hehe..basically i want QR code to be a placeholder for 3D model, once is seen by camera..soo..how??  :D
Title: Re: AGK AR
Post by: Qube on July 28, 2018, 09:51:03
Quote from: Naughty Alien on July 28, 2018, 08:44:09
:))

well..probably you are correct..hehe..basically i want QR code to be a placeholder for 3D model, once is seen by camera..soo..how??  :D

Ah, gotcha ya!. Yeah, there are no AR image recognition commands in the AR side of AGK yet. I would say that's quite important so perhaps make a post about that on the AGK forums and hopefully it'll be added in.