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.
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.
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 ?
There are too many other features going in for 1.5. Camera Overlay won't make it for Android in 1.5.
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 :-).
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.
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 ?