Getting going with GART, the Geo AR Toolkit, on Windows Phone 8
- Posted: Jan 06, 2014 at 6:00 AM
- 10,862 Views
- 4 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
In today's Mobile Monday post we are going to highlight an article by Igor Ralic where he walks us through using GART on Windows Phone 8.
What is GART?
GART was created to help people quickly and easily build Augmented Reality applications for Windows Phone and Windows 8.
This kit is different from other AR kits in that it enables what we call “Geo AR”. Where other toolkits place virtual things on top of specially printed tags, this toolkit places information on top of real places in the world around you. It does this by tracking where you are and the direction you’re facing.
Geo AR apps are easy to write because all you need to provide is a collection of objects that have Latitudes and Longitudes. These can come from anywhere, for example a Bing restaurant search, a Flickr photo search or a Wikipedia article search. The framework then takes care of managing sensors and tracking where the user is in relation to the reference points. It can show where the points are in relation to user from a top-down perspective (on a map) or it can show where the points are as a virtual lens into the real world.
Some of our past GART coverage:
I wrote an article a year and a half ago about using GART with Windows Phone to create augmented reality scenarios in really easy steps. It’s linked in the GART project documentation and it gets a lot of attention and even questions from people working on Windows Phone 8 apps. The article was written with Windows Phone 7 in mind, but conidering it’s still being used as reference getting started implementation, I decided to write about what has changed.
The old article is here: http://igrali.com/2012/05/24/implementing-augmented-reality-using-gart/
The 6 easy implementation steps I mention are:
- Add an ARDisplay control to your Windows Phone page
- Add the views you want as children of the ARDisplay control
- Start and stop services when navigating to and from the page
- Create a collection of ARItem objects (or your own custom type that inherits from ARItem) and include real geolocation
- Set ARDisplay.Items equal to your new collection
- Optionally, style the elements
Before getting started, you need to add the necessary references to your project. Nothing’s changed much regarding that, just go to
get the latest release and add it to your project reference.
Adding ARDisplay control
Now get going and get GART'ing!