Android :: Augmented Reality / Mapping GPS To OpenGL?
Feb 2, 2010
I am writing an Android AR application and have my engine working but it contains a strange behaviour that I can't seem to get fix. I am overlaying an OpenGL surface on the camera image and am placing 3D objects in the view accordingly. If I use dummy data for the location of my AR objects, i.e. LAT 10 LON 10 become x=10 y=10 on the OpenGL surface, then the overlay works perfectly. However, if I use direct GPS coordinates for my LAT and LON (e.g. LAT 12.34567890 LON 100.23456789) then all my objects either move around their location or don't appear at all. I know there are issues around using floating points and the OpenGL framework, but I've been reading around and am still having trouble stopping this behaviour. Has anyone else had this problem? Should I be using a scaling factor between my GPS and openGL surface, if so what values are good? I tried scaling my LAT and LON by 1000000 to eliminate the floating point, but it didn't help and the performance was terrible.
View 1 Replies
Aug 17, 2009
I've come across MANY AR libraries/SDKs/APIs, all of them are marker-based, until I found this video, from the description and the comments, it looks like he's using SIFT to detect the object and follow it around. I need to do that for Android, so I'm gonna need a full implementation of SIFT in pure Java. I'm willing to do that but I need to know how SIFT is used for augmented reality first. I could make use of any information you give.
View 5 Replies
View Related
Dec 21, 2009
I am planning to develop an augmented reality application for Android phone. Does anyone know if there is any existing framework for augmented reality which could be used for such applications?
View 11 Replies
View Related
Jun 21, 2009
Could somebody (Mathias Agopian alias pixelflinger perhaps) please tell me how to use information from sensor for augmented reality stuff. Sorry am not much into graphics stuff but I did try my part to figure stuff out with help of documentation. Didn't miss the note: ""Note: It is preferable to use getRotationMatrix() in conjunction with remapCoordinateSystem() and getOrientation() to compute these values; while it may be more expensive, it is usually more accurate. Tried both. With the above method roll is always negative (in radians) of the roll returned by orientation sensor event. Not the real problem though as these are in the same +/-90 range but negative/opposite. One of these goes against the definition of roll in android documentation. I have the camera on landscape mode and did try with and without the suggestion: ""# Using the camera (Y axis along the camera's axis) for an augmented reality application where the rotation angles are needed : remapCoordinateSystem(inR, AXIS_X, AXIS_Z, outR); Yet no luck. Got a few lessons on quaternions etc. But am sure it is much easier than the mess am getting into. Say, orientation sensor event returns yaw, pitch & roll in say eO[] What are the next steps to get rotation matrix that I could use in opengl to rotate a augmented scene overlapping the camera preview?
View 7 Replies
View Related
Dec 14, 2009
Yelp and Twitter have both developed Augmented Reality apps for the iPhone. I remember seeing something like this for Android...maybe even developed by Google? I'd love to see these 2 apps come to Android. Twitter 360 Augmented Reality for the iPhone 3GS. Yelp Brings First US Augmented Reality App to iPhone Store
View 1 Replies
View Related
Oct 22, 2009
I recently released an app I have been working on for, what seems like, most of the year. It is an augmented reality navigation application. What does that mean? Well, instead of using a 2D map to plot your route it draws a 3D route line upon a live camera view of the road/path ahead. This allows you to point your phone at the road, see which road is highlighted by the "route line" and then simply follow the line to your destination. It was a difficult application to build as the sensors on current phones are very "noisy" which makes it difficult to create augmented reality applications which rely on high accuracy. Nevertheless, I have been able to achieve an acceptable level of accuracy and the app works rather well. It currently supports walking and driving direction, however the driving mode is a BETA preview as although it works, can still be improved. I put together a video to demonstrate the driving mode.
View 11 Replies
View Related
Sep 21, 2010
Forget about losing your car at the airport parking, shopping mall or outside the football stadium. Car Finder AR is an augmented reality app that proyects the position of your car on top of the camera view of your mobile phone. Use augmented reality view, Google Maps view or RADAR view to find your car. Just park, open Car Finder AR, go to the menu and save your current position, that's it!
View 2 Replies
View Related
Nov 5, 2010
I'm trying to run the Image Target sample program but it keeps crashing. After some debugging it looks as though its failing to load some libraries. I copied them into the system/lib of the android device and it still doesn't seem to be working.
View 1 Replies
View Related
Jun 3, 2010
I have to integrate to my app an augmented reality framework to display some geolocalised point. Does it exist a framework or an open source project? I have looked to NyARToolKit but it does not seem to have the fonction I need.
View 2 Replies
View Related
Jul 7, 2010
Anyone every play with AR apps on their Dinc? I have been screwing around with Layers and its fun and all but not really useful for me. I don't live in an area where I can walk from one place to another. Takes a couple miles in a car to go anywhere and google maps is better for that. I do see a huge world open to gaming and hidden messaging for friends and family kinda like Geocaching but on a much locally and personal level. Leave a msg (either text or video) on your fridge for a family member. Tag your house with a msg for friends to come on in. Messages could be activated when your selected friends are within 100 yard range of your house. Sure you might say why not just send them a text or call them? What if you are not sure who is coming to a party. You can select a groups of friends to auto receive that msg only if they come so you don't look like a loser to everyone who is not coming. What about airports? An airlines can direct passengers to new gates just by AR. Passenger can use his or her phone to follow the highlighted trail leading to their new gate.
View 4 Replies
View Related
Nov 1, 2009
I was wondering if anyone else has tried a 3rd party camera app (like CameraFX) or an augmented reality app yet. My Moment wont render the image from the camera correctly it's all green and staticy looking. sorry for the terrible description. Has anyone tried an AR or 3rd party camera app? Or can you and then tell me if your moment is working fine with it or not?
View 24 Replies
View Related
Sep 2, 2009
Motor Stuff : Wikitude Drive brings augmented reality sat-nav to Android
looks really good folks!
View 1 Replies
View Related
May 3, 2010
Do you enjoy photography and android apps? Are you excited about the potential behind augmented reality? Please contact me if you are interested in beta testing a location-based augmented reality game.
View 23 Replies
View Related
Nov 25, 2009
Are there any of these apps that will work for the Droid.
View 19 Replies
View Related
Feb 9, 2009
Is it possible at this time to get normal mapping to work on android? I'm asking because it would involve the use of GL_DOT3_RGB, which is in the GL11 specs, not GL10. But GL11 is indicated as not completely supported.Is there an official list of GL11 features that do not work, or is it simply unstable and I should just avoid it for now?
View 2 Replies
View Related
Nov 25, 2009
I've tried casting shadow following this tutorial (which uses Stencil Buffer method): http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=27 The result is a cool shadow effect. But it depends too much on geometry and thus not very flexible. Then I found a much easier way to do shadowing here: http://www.paulsprojects.net/tutorials/smt/smt.html But it uses ARB_depth_texture and ARB_shadow extension. So I bet it can't be used with Android's OpenGL ES 1.0. I've tried googling for "Shadow Mapping" and "OpenGL ES" but still can't find a good tutorial. Can anyone recommend me a good place/site I can study for this please?
View 3 Replies
View Related
May 5, 2010
I have an Android application that displays VGA (640x480) frames using OpenGL ES. The application reads each frame from a movie file and updates the texture accordingly. My problem is that, it is taking almost 30 ms. to draw each frame using OpenGL. Similar test using the Canvas/drawBitmap was around 6 ms on the same device. I'm following the same OpenGL calls that VLC Media Player is using, so I'm assuming that those are optimized for this purpose.
View 1 Replies
View Related
Jun 25, 2010
I have just began opengl programming in android and i am fairly new to opengl as well. I've been using nehe's opengl tutorials as well as insanitydesign's android ports.I successfully managed to create a cube with a single texture mapped to all its 6 faces. I even mapped multiple textures to different faces of the cube.But the way I did it was to create 6 faces seperately, have 6 seperate index and texture buffers and then using glBindTexture() with the selected texture for each face and then calling glDrawElements. Isn't there an efficient way around this. Should i use a cube map texture instead of a GL_TEXTURE_2D?
View 4 Replies
View Related
Jul 28, 2010
I was wondering if you guys new of any augmented reality games.
View 3 Replies
View Related
Feb 25, 2009
Single Threaded OpenGL game ! (check bottom, you can download and use the helper class) Lighting disabled ! Depth Buffer disabled ! Culling enabled ! Textures disabled !
Just 176 integers (x,y values only) making 88 vertexes along with 132 index numbers making "44 triangles only"
Framerates I get is
with GL_BLENDING disabled - 145 fps approx only! enabled - 110 fps approx only!
I have the screenshot of exact code in the draw function here.. just 2 damn lines ! I have hidden only the comments.. click here to see it http://prasna991.googlepages.com/drawframe.png
variable details in the 2 lines of code =========================== ipts = 176 elements (only x and y for each vertex) totallinetriangles * 3 = 176 lineindexes = 132 elements - type "short"
Here is the screenshot of output drawing and how it will look like http://prasna991.googlepages.com/screen.png
OpenGL single threaded Initialization Helper ================================ Here is my OpenGL helper class.. makes the OpenGL initialization for newbies a cakewalk http://prasna991.googlepages.com/OpenGLHelperclass.txt
I tested by rendering on the touch event only.. frame rate drops only when u touch and drag and here I have just tested by tapping and releasing gently on the emulator and on the device
Is this the device limitations ? So graphics is actually a lot lot lot slower than on iPhone ?
View 8 Replies
View Related
Jul 24, 2010
I would like to be able to use the OpenGL API from both Java and C (via NDK).
In Java, there is a GL object passed, which has all GL methods on it.
In C, you just talk to the native library.
In a single onDrawFrame callback (for which Java is passed a GL), can I use methods on the GL object, and also call NDK methods which access the openGL library?
In other words, is the GL object just a wrapper for the same instance of the native library?
View 3 Replies
View Related
Jun 4, 2009
Can augmented ajax use Notifications? Is this Android 2.0?
View 2 Replies
View Related
Jun 24, 2010
just got my incredible today which btw I am loving it. However I have run into an annoying issue, Layer Reality will not install. I downloaded the app from the Android store and while it appears in my download list completed it will not install saying (download unsucessfull) after around 2 seconds or so. I am really wanting to check this app out.
View 2 Replies
View Related
Jun 16, 2010
there im looking at gettin g a new phone, and this is really the deciding figure between a blackberry, iphone or android device. What im looking for is a gps app sorta like gpsed that can map my tracks and put photos on them, but that stores these maps on my phone not the internet. Also what i would like is to ba able to take a picture with my phone and quickly be able to attatch it to my map. So when i go to this map in zoomed out mode i can see all these tracks (possibly in different colors) and these pins which i can click on and see pics of that location.
View 5 Replies
View Related
Jun 24, 2010
I'm trying to get the lat/long values, from the corners of the screen. But my getProjections don't make any sense.. I mean ... mymap.getProjection().fromPixels(0, 0) or mymap.getProjection().fromPixels(screenWidth, screenHeight) just delivers me unreal numbers..
I'm trying to set up an algorythm that would avoid cluster of graphics in the map and for that, the app needs to know which area of the screen is being showed latitude/longitude wise.
For example:
CODE:..............
View 1 Replies
View Related
Jul 15, 2010
Has anyone else seen this: The Samsung Galaxy S Goes See-Through, Another app I'd love to have, to rub in the face of my iphone friends! I've searched the XDA site & there are only port requests so far . . .
View 9 Replies
View Related
Aug 26, 2009
I have a love-hate relationship with my G1, with the inability to remap keys at the top of the list. I've looked high and low for information, going so far as to try to decipher pages like this:http://www.kandroid.org /android_pdk/keymaps_keyboard_input.html and even reading the android platform code on github. I don't see things like page_up and page_down defined in the android keymappings. And I suspect that the original scancodes are being assigned to touch gestures.Since the number keys don't have a third component could an enterprising developer map to the unused caps for missing keys? Not that it would be all that useful at this point but it would give someone a hook to build on. Or if that isn't possible, how about a virtual floating task bar kind of thing (maybe mostly transparent overlay?) that maps gestures like the swipe up/swipe down and more traditional arrows and enter type keys for the trackball? This isn't entirely a nit-picky kind of request. I have a medical condition that in the winter makes my fingertips extremely painful and the trackball hurts. I'm guessing that there weren't many arthritis sufferers on the Android development team, either. You would think that the touch screen should make things easier, not harder. Even my old, old Omnigo and HP100LX had utilities to remap keys, so it seems odd that there isn't some kind of app that could be developed. I think if I had enough time (which I don't) I might be able to eventually puzzle out a crude version of the task bar thing but I'd much rather pay a couple of dollars in the market.
View 2 Replies
View Related
Aug 7, 2010
Ok so here's the deal guys and gals, I am trying to have my phone assist me with my running. There are plenty of apps that will track my run via gps if I bring my phone on the run with me, but I don't wanna do that. I want to be able to map a course out, enter how long it took me, save the map and even share it with friends. Ideally the app would have the gps running features I mentioned above just on case I ever do start bringing my phone with me. Here is an example of what I mean in website form (unfortunately they make a sweet app for the iphone but their android version is pretty awful right now.MapMyRun.com -
View 9 Replies
View Related
Aug 16, 2010
I am looking for an application that can create a map by me carrying the phone and walking a certain path.There is a 300 acre park near where I live. The maps they provide are way off base. I would like to walk all of the trails and have the Droid record where I am walking.You know, this may be easier than I think using ASE and writing a Python script. I'll just get the location every half second and write it out to a file. It'll be interesting to see how the maps turn out, seeing the low resolution of the GPS receiver.
View 5 Replies
View Related
Dec 29, 2009
Currently I'm using a HashMap to map the strings to int and the int values need to be frequently accessed. I'm looking for a better way to do this if possible with minimal object creation, and preferable being able to store the values as primitive ints without wrapping them with the Integer class. (Basically, the reverse of the SparseArray's int->object mapping.)
View 4 Replies
View Related