Augmented Reality

You must Login before you can answer or comment on any questions.

Hi,

I am wondering if anyone has successfully completed a Augmented Reality (AR) application in Titanium?

Just wanted your feedback on how it runs as I am trying to decide if to build one native or with TI

Thanks in advance.

— asked 4 years ago by Jay J
0 Comments

9 Answers

Hi guys, sorry for the long delay. Since my post, I tried to review and comment a little bit my code, however I found that on iOS 4 devices it isn't working properly, while it seems to work as expected inside the iphone emulator. Anyway, here you will find a zip file that contains the necessary files to be dropped in the Resources directory of a newly created project. Please consider that this was only an experiment. Use it at your own risk ;-)

As soon as I'll have some more spare time I'll try to have again a look at the code in order to figure out why it isn't working properly. I'm looking forward to test it on the upcoming 1.5 SDK... Anyway I'm planning to factor out some core parts from that code in order to create a more handy JS library.

— answered 4 years ago by Olivier Morandi
answer permalink
2 Comments
  • Thanks very much! Going to check it out..

    — commented 4 years ago by Jay J

  • Very nice work. I haven't had a chance to put it on my phone yet but I will. What kinds of problems are you seeing on a device?

    — commented 4 years ago by John McKnight

If your trig/maths is good, then it should be ok to do in Ti.

Have you seen the basic demo in KitchenSink? That would be a good place to start. ;)

Am I correct in saying that TI cant do camera overlays in Android ?

If not, will it be possible in the 1.5 sdk?

I tried to find the example in Kitchensink, but failed or it didn't work on android.. Can you direct me there ?

— answered 4 years ago by Jay J
answer permalink
1 Comment
  • Ahh.. sorry.. my bad. I didn't see the 'android' tag you had in your original question. I don't know if it works for Android (I have a feeling the answer is no)

    — commented 4 years ago by Kosso .

There are too many other features going in for 1.5. Camera Overlay won't make it for Android in 1.5.

— answered 4 years ago by Don Thorp
answer permalink
1 Comment
  • Hi Don, I am hoping the audio streaming is fixed up in sdk 1.5?

    At the moment, i can't stream from a shoutcast url (http://11.22.33.44:1234) on Android below 2.2..

    I have started a product which uses this, but will have to move to another framework or go native if this doesnt work :(

    — commented 4 years ago by Jay J

Hi, around 3-4 months ago I've been conducting some experiments with augmented reality on Titanium/iPhone (i.e. viewing text labels representing actual points of interest correctly overlaid on a camera view).

If I remember well, I had some performance problems when processing large sets of POIs, however I didn't have time to perform some serious measurement and eventually optimize the code.

If anyone's interested I can manage to polish the code and post it somewhere.

Olivier, I'm interested in your code; is it possible for me to take a look?

ivan . mathy [arobase] free . fr

Hi all, I see that my post generated a bunch of requests, but lately I've been quite busy...

Anyway don't despair. I plan to release the code during this week. I'll post a link here and if you want to get notified by mail, please drop me a line at (olivier dot morandi) on google's mail service :-).

— answered 4 years ago by Olivier Morandi
answer permalink
2 Comments
  • Any movement on this Olivier? Looking forward to seeing your code ;)

    Thanks.

    — commented 4 years ago by Jay J

  • Dear Olivier, kindly paste us the link, i'm interested for the code, thanks!

    — commented 3 years ago by yee kee chean

Hi All

I've been playing around with the GREAT source code developed by Oliver. I think the reason for the code not working on the device is down to line 477 of the code, which states

if (Ti.Platform.model != 'Simulator')

I changed that to read:

if (Ti.Platform.model =='iPhone 4')

And it works on the iPhone.

I can't figure out why the Radar isn't working as yet though... Hope that helps someone.

cheers Simon

— answered 4 years ago by Simon Burgon
answer permalink
1 Comment
  • Hi Simon, can you elaborate on how you got this to work. I've downloaded the code and copied it over to a new mobile project (1.6.1). The overlay appears but no POI's get plotting in either the radar or onto the overlay.

    Using if (Ti.Platform.model =='iPhone 4') makes no difference as it was working before but I did spot the error in a case sensitive variable currlocation and changed that to currLocation. Still no luck.

    What did you do and on what device/os did you get it working on?

    Cheers, Phi

    — commented 4 years ago by Phi Chong

I need to show tweets in AR. 1) Tweets near me, check my geo position 2) Open camera 3) Show in AR the tweets from #mytweet 4) click in the labels flighting to read it

Ins ther anyboy interesting to help me ? Thanks!

Your Answer

Think you can help? Login to answer this question!