Search Unity

Augmented Reality

Discussion in 'General Discussion' started by hk1973, Mar 11, 2009.

  1. hk1973

    hk1973

    Joined:
    Oct 14, 2008
    Posts:
    29
    This question must have been asked before but I wish you don't mind if I ask again...

    Is there any way to create Augemented Reality applications/games with Unity?

    Thanks in advance!!
     
  2. Lallander

    Lallander

    Joined:
    Apr 23, 2006
    Posts:
    429
    Interesting subject. I'm a big fan of augmented reality. Could you elaborate a bit more on what you are wanting to do tho. Are you wanting to do something with the iphone camera? Are you wanting to use fiduciary markers? Or do you want to use some sort of edge detection system like SLAM? I don't really know how feasible any of these are, but I think it could be worthwild to explore it in more detail.

    Edit:
    Check out this link for some more info on SLAM.
    http://www.robots.ox.ac.uk/~gk/
     
  3. wimwouters

    wimwouters

    Joined:
    Jan 7, 2009
    Posts:
    20
  4. hk1973

    hk1973

    Joined:
    Oct 14, 2008
    Posts:
    29
    Thank wimwouters for the url.

    Lallander, we developed a simple web based AR program using Flash/FLARToolKit and it worked, but not great as Flash doesn't handle 3D well (that's why we switched to Unity, right?)

    I am fine to forget about web based as I understand that it may not be possible for Unity to use any device like web cam at the moment and in the nearest future, (at least for PC) but what about Executable?

    I saw some iphone AR demo, it is a bit slow so we are not thinking about it.

    I will do more research and share information with you
     
  5. Dragon Rider

    Dragon Rider

    Joined:
    Jan 17, 2008
    Posts:
    280
  6. dannyxyz22

    dannyxyz22

    Joined:
    Jun 16, 2009
    Posts:
    20
  7. paytoneal

    paytoneal

    Joined:
    Nov 1, 2014
    Posts:
    1
    Any cool examples of AR in video, film or interactive art?
    I made a short film that you can see here, and am interested in seeing AR in media more and more!
     
  8. lmbarns

    lmbarns

    Joined:
    Jul 14, 2011
    Posts:
    1,471
    This is one of my favorites:


    At work I've made a few AR apps for events where the target is 8'x10' high and the 3d models are life size. Some t-shirts as well for promotional events/marketing.

    Recently started using Metaio at work instead of vuforia, but it costs $8500 for the pro version.....but it has a unity plugin and the most features of any of the AR libraries.
     
    Aieth likes this.
  9. JovanD

    JovanD

    Joined:
    Jan 5, 2014
    Posts:
    205
    Overlaying stuff on camera footage is trivial, anyone with basic Unity knowledge can do that.
    Trick is if you want to make true/interactive AR game you need to do 3D motion tracking and as far as i know it's quite computationally intensive.
    There is hope if this becomes a thing https://www.google.com/atap/projecttango/#project
     
  10. zyzyx

    zyzyx

    Joined:
    Jul 9, 2012
    Posts:
    222
    Can you perhaps elaborate a little bit on why you switched to metaio? We are using vuforia in most of our projects but want to try out metaio in the future. How does metaio hold up performance and stability wise?
     
  11. 3agle

    3agle

    Joined:
    Jul 9, 2012
    Posts:
    508
  12. schmosef

    schmosef

    Joined:
    Mar 6, 2012
    Posts:
    814
  13. lmbarns

    lmbarns

    Joined:
    Jul 14, 2011
    Posts:
    1,471
    Vuforia is as good with tracking image targets, but metaio has 2d and 3d slam tracking, the closest thing vuforia has is the user defined target. (their new terrain feature is too buggy for prime time)

    Metaio works outdoors on buildings 100'+ away. This is the only feature we need metaio for, otherwise we use vuforia.


    Metaio has a feature where you can adjust the sensitivity of tracking targets, but it gives a lot of false positives, but for some uses it's useful.

    I did see a whitepaper from a school where they used vuforia and wrote a custom gps/compass system that could augment buildings on the camera feed, so it is possible.


    For body skeletal tracking with just an rgb webcam, there's a company with a plugin for Unity http://www.xtr3d.com/
     
    Aiursrage2k and historysa like this.
  14. greencalxx

    greencalxx

    Joined:
    Mar 29, 2017
    Posts:
    1
  15. theolagendijk

    theolagendijk

    Joined:
    Nov 12, 2014
    Posts:
    109
    I did not see this mentioned yet in this thread but at Unite ‘16 in Los Angeles Unity announced a collaboration with PTC to Integrate the Vuforia Augmented Reality platform within Unity. So going forward it might get a lot easier to start playing around with Mixed Reality. I personally wish Unity would consider working with a more developer friendly party. Vuforia is just not that great in terms of AR tracking options and in terms of service and Vuforia sells ridiculously expensive licenses for their technology. For example publishing a simple augmentation on a 2D image target on Windows 10 will right now cost you at least 2500$ with Vuforia's SDK ( that's the consumer pro license that enables UWP support ). While the same functionality is free with EasyAR and almost free with Arcolib!
     
    Aiursrage2k, mrmdesign and schmosef like this.
  16. historysa

    historysa

    Joined:
    Jun 26, 2015
    Posts:
    3
    I have written a blog which gives a good basic overview about using Unity, Vuforia and Blender to create a 3D animated AR experience. Hopefully this helps others in scoping and resourcing a project.

    http://interactions.history.sa.gov.au/2016/07/augmented-reality

    There is also another blog which highlights the challenges and limitations of using a large 3D object (a car in this case), as a target :

    http://interactions.history.sa.gov.au/2017/05/bush-mechanics-ar-survival-kit

    The 2D and 3D slam tracking that Metaio offered looks pretty awesome, however I wonder what is happening now since they were acquired by Apple. It would be great if this functionality were available in other AR libraries - does anyone know?
     
  17. Aiursrage2k

    Aiursrage2k

    Joined:
    Nov 1, 2009
    Posts:
    4,790
    I guess they are going to eventually integrate it into ar kit?
     
  18. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    14,414
    Majority of this thread predates Unite '16. Surprised people are reviving this thread instead of just making a new one since I have to imagine most of this thread is seriously way out of date now. Original post was from 2009.
     
    theolagendijk likes this.
  19. minta2

    minta2

    Joined:
    Jul 24, 2017
    Posts:
    16
    Hi, everyone! I am helping my friend with his research. He is researching the potential of VR and AR in different fields. What would be your personal opinion where AR can play a vital role in the future? For instance, real estate, video games, health care etc.
     
  20. theolagendijk

    theolagendijk

    Joined:
    Nov 12, 2014
    Posts:
    109
    AR will play a vital rol in all of the above. Augmented Reality ( the world as your computer interface ) is the new reality in every aspect of your life. Screens are disappearing. All your entertainment needs but also all your information needs will taken care of when you need it and where you need through intelligent personalised AR interfaces. No longer through screens but much much closer to your experience of reality. For a brief moment in time we'll be wearing special glasses to consume AR but just a short time later the glasses will be redundant as the information will be put into our brains more directly. AR will be the default medium for every type of interaction with the world. All other forms of interfacing with computers and each other will soon be ancient silliness. Just my humble opinion.
     
    Guliz and dreipol like this.
  21. minta2

    minta2

    Joined:
    Jul 24, 2017
    Posts:
    16
    Thank you, theolagendijk! I completely agree with your point of wearing special glasses to consume AR. I also thought AR will take a place in all aspects of life but it may vary according to this research. There is a table which predicts the market size of VR/AR software for different use cases in 2025. What do you think about it?
     
  22. Guliz

    Guliz

    Joined:
    Aug 8, 2012
    Posts:
    27
    Unity just announced AR support for Unity 2018 together with the announcement of the cooperation with magic leap glasses. omg can't wait. Actually i didn't wait ;) and made a AR game with the experimental ARInterface plugin
    (https://github.com/Unity-Technologies/experimental-ARInterface)



    Really looking forward to it develop for the glasses