前言

目前对于Tango的报道越来越多,可以说是AR手机,如此屌炸天的手机可以说是在AR手机领域的试探,所以简单的介绍下Tango和用Unity做一个简单的案例。

Tango介绍

百度百科上的Project Tango介绍:
http://baike.baidu.com/link?url=Hqp2yc-NtSglFJpULy7jOyHDBuXA_LxzamIFUJAly2uHEXN2bZjdSfjk7qhx1kCBLDWiHe2n0bQ8XLKzSLb-QHBHwgToABmU1MPfyNkPSSm

Project Tango的一个分析:
http://www.cnbeta.com/articles/503593.htm

除了这款设备外,还有一款叫做Lenovo phab2 pro ,看下它的简单评测:
http://mobile.yesky.com/70/102993070.shtml

目前为止就只有这两款设备,关于Tango的官网文档需要翻墙才能去看。

Tango官网:https://developers.google.com/tango/developer-overview

Tango官方的示例工程:https://github.com/googlesamples/tango-examples-unity
百度网盘地址:

Tango的SDK:https://developers.google.com/project-tango/downloads
百度网盘地址:链接:http://pan.baidu.com/s/1c1SYa6 密码:h88v

对于不能翻墙的我就稍微简单说下Tango。
Tango介绍:
Tango is a platform that uses computer vision to give devices the ability to understand their position relative to the world around them. A Tango-enabled device is an Android device with a wide-angle camera, a depth sensing camera, accurate sensor timestamping, and a software stack that enables application developers to use motion tracking, area learning and depth sensing. Thousands of developers have purchased these devices to create experiences to explore physical space around the user, including precise navigation without GPS, windows into virtual 3D worlds, measurement and scanning of spaces, and games that know where they are in the room and what’s around them.

You will need a Tango-enabled device, like the Lenovo Phab 2 Pro, in order to run and test any apps you develop. In the meantime, you can familiarize yourself with our documentation and APIs to plan how you might create your Tango apps.

Tango的有三个版本,C,Java,SDK for Unity版本,下面的例子以Unity为案例

Tango主要有三个技术核心:Motion Tracking,Area Learning和Depth Perception

Motion Tracking 介绍:
Motion Tracking means that a Tango device can track its own movement and orientation through 3D space. Walk around with a device and move it forward, backward, up, or down, or tilt it in any direction, and it can tell you where it is and which way it’s facing. It’s similar to how a mouse works, but instead of moving around on a flat surface, the world is your mousepad。

Area Learning 介绍:
Human beings learn to recognize where they are in an environment by noticing the features around them: a doorway, a staircase, the way to the nearest restroom. Tango gives your mobile device the same ability. With Motion Tracking alone, the device “sees” the visual features of the area it is moving through but doesn’t “remember” them.

With Area Learning turned on, the device not only remembers what it sees, it can also save and recall that information. When you enter a previously saved area, the device uses a process called localization to recognize where you are in the area. This feature opens up a wide range of creative applications. The device also uses Area Learning to improve the accuracy of Motion Tracking.

Depth Perception 介绍:
With depth perception, your device can understand the shape of your surroundings. This lets you create “augmented reality,” where virtual objects not only appear to be a part of your actual environment, they can also interact with that environment. One example: you create a virtual character who jumps onto and then skitters across a real-world table top.

下面开始演示一个简单的Demo。

下载Tango的SDK
Tango的SDK:https://developers.google.com/project-tango/downloads
百度网盘地址:链接:http://pan.baidu.com/s/1c1SYa6 密码:h88v

Unity案例

下载完SDK后导入进去,首先选择Android平台,其次按照如图所示在Hierarchy中创建对象:

然后打包apk即可,安装到Tango设备上运行效果如下:

此时可以在上图中看到运行效果,其中摄像机运行轨迹会渲染出蓝色的轨道,这个可以禁用掉就不会出现了。(官方所说)

Unity编程笔录--Tango 介绍和简单案例相关推荐

  1. Linux下多线程编程中信号量介绍及简单使用

    在Linux中有两种方法用于处理线程同步:信号量和互斥量. 线程的信号量是一种特殊的变量,它可以被增加或减少,但对其的关键访问被保证是原子操作.如果一个程序中有多个线程试图改变一个信号量的值,系统将保 ...

  2. Multi_thread--Linux下多线程编程中信号量介绍及简单使用

    在Linux中有两种方法用于处理线程同步:信号量和互斥量. 线程的信号量是一种特殊的变量,它可以被增加或减少,但对其的关键访问被保证是原子操作.如果一个程序中有多个线程试图改变一个信号量的值,系统将保 ...

  3. Unity 工具类 之 WWW/UnityWebRequest 下载压缩文件(zip),解压到本地且加载使用解压数据的简单案例(内也含压缩文件例子)

    Unity 工具类 之 WWW/UnityWebRequest 网络下载压缩文件(zip),解压到本地,且加载使用解压数据的简单案例(内也含压缩文件例子) 目录 Unity 工具类 之 WWW/Uni ...

  4. linux运维脚本编写,最强Linux自动化运维 Shell高级脚本编程实战 带习题+项目实战案例+全套配置脚本...

    最强Linux自动化运维 Shell高级脚本编程实战 带习题+项目实战案例+全套配置脚本 大家可以通过参考下面的课程学习目录,就会发现单单只从目录上来分析就知道这是一部非常系统的Shell自动化脚本运 ...

  5. 数据分析与挖掘中常用Python库的介绍与实践案例

    数据分析与挖掘中常用Python库的介绍与实践案例 一.Python介绍 现在python一词对我们来说并不陌生,尤其是在学术圈,它的影响力远超其它任何一种编程语言, 作为一门简单易学且功能强大的编程 ...

  6. python简单实例-python简单案例

    广告关闭 腾讯云双11爆品提前享,精选热门产品助力上云,云服务器首年88元起,买的越多返的越多,最高满返5000元! 一个简单的python资讯采集案例,列表页到详情页,到数据保存,保存为txt文档, ...

  7. Unity学习笔记(一)~介绍以及入门

    1.简单的个人介绍 在介绍Unity前,容许我介绍一个自己吧,毕竟自我介绍是每一个码农,咳咳,每一个求职人员必备的一项工作,虽然感觉就是一个开场白吧. 本人呢就是普通的本科毕业,既不是985也不是21 ...

  8. Unity4.x 2D游戏开发基础教程第1章Unity及其组成的介绍

    Unity4.x 2D游戏开发基础教程第1章Unity及其组成的介绍 本书主要讲解的是,如何使用Unity开发2D游戏.但在开始讲解之前,最好先熟悉一下Unity这个工具.本章会首先介绍Unity的下 ...

  9. Redis简单案例(四) Session的管理

    Redis简单案例(四) Session的管理 原文:Redis简单案例(四) Session的管理 负载均衡,这应该是一个永恒的话题,也是一个十分重要的话题.毕竟当网站成长到一定程度,访问量自然也是 ...

最新文章

  1. 软件测试-HTTP Analyzer过期了怎么办?
  2. BA(free scale) network 小结
  3. 关于 SAP UI5 Table 控件中行合并的实现方式
  4. uva 11997 K Smallest Sums 优先队列处理多路归并问题
  5. 算法正义_正义联盟的Sprint Boot
  6. es6 Class 的 new.target 属性
  7. 【转】HTTP协议之multipart/form-data请求分析
  8. 《全局光照技术》在摩点网发起众筹活动
  9. 3D控件Aspose.3D 18年新版V18.1发布 | 附下载
  10. oracle怎么将数据删除文件,oracle删除数据文件
  11. mysql中查询编辑器_万能数据库查看器|Universal SQL Editor(万能SQL编辑器)下载 v1.8 官方版 - 比克尔下载...
  12. 测试手机ram速度软件,8GB RAM极限是什么?我们拿两款手机测试了一下
  13. Windows server 2012 服务器挂载NAS盘
  14. Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWo
  15. GeekPwn 2022开启全球招募,召集顶尖极客参赛挑战
  16. 《白帽子讲WEB安全》学习笔记之第9章 认证与会话管理
  17. 雅思英语作文计算机和历史,雅思写作八分经典作文:计算机的利与弊
  18. 投了几百份简历都没人回?兄弟,你的简历真的有问题啊!
  19. 集成学习:Bagging、随机森林、Boosting、GBDT
  20. Linux常用命令——git命令

热门文章

  1. 刚刚!香港大学宣布:成功研发新型冠状病毒疫苗!
  2. 公式3.0 常用字体设置
  3. SEO的未来发展趋势及核心竞争力
  4. c++设计模式--抽象工厂(abstract factory)
  5. java 正则大小写转换_JS正则表达式转换大小写
  6. JS 案例 大小写转换
  7. 查看端口:如何查看端口(3306)被哪个程序占用?
  8. 互联网金融,如何用知识图谱识别欺诈行为
  9. 蓝桥杯:算法训练 印章 Python
  10. 如何用python创建文件_python在指定目录创建文件