简体   繁体   中英

How to get the AR example running for Unity using Google's tango example

So I am starting out to do some projects in Tango using Unity. I cloned the examples from their github ( https://github.com/googlesamples/tango-examples-unity ) and tried running their Experimental Augmented Reality example. So I figured out how to attach the scripts to their respective game modules.

However, everytime I try to run the program, in the ARScreen.cs script this line m_textures = m_tangoApplication.GetVideoOverlayTextureYUV(); always returns null. So I combed through google's documentation to see what causes it to return null but I could not find anything on it. Is there anyone that successfully ran the Experimental Augmented Reality example that can shed some light on this?

I just verified that my Experimental Augmented Reality example works fine.

It looks like project tango has made a new release called "release-weyl" on sept 15th. I'm not sure if there is a mandatory firmware update for this new release.

I'm using previous version release-vonmises. Just try this release. It might just work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM