位置: 编程技术 - 正文

【VR】Leap Motion 官网文档 Unity插件概述(vr project)

编辑:rootadmin
前言:

推荐整理分享【VR】Leap Motion 官网文档 Unity插件概述(vr project),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:vr creation,vr from,vr the,vr revive,vr the,vr the,vr project,vr website,内容如对您有帮助,希望把文章链接给更多的朋友!

Leap Motion的官网文档已经有不少的热心网友参与了翻译,但没有覆盖官网文档的全部。

为迎合Unity VR的热潮与大家的学习需要,本博客将推出针对Unity方向的官方文档翻译系列。

本篇主要对Leap Motion的Unity插件及坐标系系统进行简述。

英文原文网址: Plugin Overview 插件概述

The Leap Motion Controller tracks hands and fingers and reports position, velocity, and orientation with low latency and good accuracy. The controller can be used on a tabletop or mounted on a VR headset.

Leap Motion控制器追踪手和手指并低延迟、高精度的返回位置、速度以及方向。该设备即可以放在桌面上使用,也可以作为VR头盔上的附加设备使用。

The Leap Motion controller system consists of a hardware device and a software component which runs as a service or daemon on the host computer. The software component analyses images produced by the hardware and sends tracking information to applications. The Leap motion Unity plugin connects to this service to get data. Scripts included with the plugin translate Leap Motion coordinates to the Unity coordinate system. These scripts and additional graphic assets make it easy to add 3D, motion-controlled hands to a Unity scene.

Leap Motion 控制器系统包含硬件设备和软件组件两个部分,软件组件可以以服务或后台进程的形式运行在主机上。软件组件负责分析硬件生成的图像信息,并将追踪信息发送到应用程序中。Leap Motion的Unity插件与该服务建立连接并获取数据。插件中包含的脚本将Leap Motion坐标(译者注:右手坐标系)转换成Unity坐标系(译者注:左手坐标系)。通过这些脚本和附带的图形资源,可以非常方便的在Unity场景中添加3D的运动控制手模型。

Coordinate Systems 坐标系

Unity3D uses a left-handed convention for its coordinate system, wheras the Leap Motion API uses a right-handed convention. (Essentially, the z-axis points in the opposite direction.) Unity also uses a default unit of meters, wheras the Leap Motion API uses millimeters. The plugin scripts internally transforms the tracking data to use the left-handed coordinate system and scales distance values to meters.

Unity3D使用左手坐标系,而Leap Motion API 使用右手坐标系。(本质上,z轴方向相反。)同时,Unity中的默认单位是米,而Leap Motion API 用的是毫米。插件脚本自动的将追踪数据转换为左手坐标系并将距离&#;从毫米缩放到了米。

【VR】Leap Motion 官网文档 Unity插件概述(vr project)

The Unity left-handed coordinate system superimposed on the Leap Motion device in its desktop orientation.

Unity左手坐标系在Leap Motion设备上的映射(桌面角度)

The Unity coordinate system superimposed on the Leap Motion device in its HMD orientation.

Unity坐标系在Leap Motion上的映射(头戴设备角度)

When you get tracking data directly from one of the classes in the Leap C# library, the data are in the native Leap coordinate system – not the Unity coordinate system. You can use the utility functions in the LeapUnityExtensions file to convert from Leap Motion coordinates to Unity coordinates. ToUnity() converts the axes from right-handed to left-handed and returns a Unity Vector3 object. ToUnityScaled() also scales the coordinates from milimeters to meters. ToUnity()istypically used with direction vectors; ``ToUnityScaled() with positions.

当你从Leap C#库的某个类中直接获取数据时,数据是原生的Leap坐标系——而非Unity坐标系。你可以使用LeapUnityExtensions文件中的工具方法将Leap Motion 坐标系转换成Unity坐标系。ToUnity() 方法将右手轴转换成左手轴并返回Unity的Vector3类型变量。ToUnityScale() 方法将坐标系从毫米放大到。ToUnity() 一般用于方向向量,而ToUnityScaled()一般用于点。Hand Tracking 手部追踪

The Leap Motion controller uses optical sensors and infrared light. The sensors have a field of view of about degrees. The effective range of the Leap Motion Controller extends from approximately . to .6 meters above the device (1 inch to 2 feet).

Leap Motion 控制使用的是视觉感应器和红外线光。感应器的视野约为度。Leap Motion 控制器的有效检测范围大约从设备上方0.米到0.6米(1英寸到2英尺)。

The Leap Motion controller’s view of your hands in desktop mode

Leap Motion控制器的手部视图(桌面模式)

Detection and tracking work best when the controller has a clear, high-contrast view of an object’s silhouette. The Leap Motion software combines its sensor data with an internal model of the human hand to help cope with challenging tracking conditions.

检测与追踪在控制器清洁、物体轮廓清晰时工作效果最佳。Leap Motion 软件将感应数据与内置的人手模型进行匹配,从而应对多变的追踪情况。

Particularly in HMD mode, you should ensure that there is less distance between the sensor and your hands then between your hands and any background objects or walls.

在头戴模式下特别需要注意的是,你需要确保 手与感应器的距离 小于 手与任何背景物体或墙的距离。

(版权声明:本篇为Leap Motion 官网文档译文,版权归Leap Motion 官网所有,图文内容仅供学习使用。)

Unity之手机重力感应 做重力感应的朋友兴许能用上,我这里写上来用于有时候自己忘了还能看一下,因为我不认为学东西就能一辈子都记得很牢,所以有时候还是为自己行

【VR】Leap Motion 官网文档 手型资源 前言:LeapMotion的官网文档已经有不少的热心网友参与了翻译,但没有覆盖官网文档的全部。为迎合UnityVR的热潮与大家的学习需要,推出的针对Unity方向

[置顶] 【VR】Leap Motion 官网文档 脚本参考(目录) 前言:本系列译文是为迎合UnityVR的热潮与大家的学习需要,推出的针对Unity方向的LeapMotion官方文档中英对照翻译。本篇第四篇《脚本参考》以目录链接

标签: vr project

本文链接地址:https://www.jiuchutong.com/biancheng/382484.html 转载请保留说明!

上一篇:【VR】Leap Motion 官网文档 Unity资源与插件(vr project)

下一篇:Unity之手机重力感应(unity给物体添加重力)

  • 报关单境外收货人错了怎么办
  • 新购车辆车船税多少钱
  • 超率累进税率有哪些税种呢怎么算
  • 限定性净资产账务处理
  • 公司买的电器可以抵扣吗
  • 公司员工住宿费怎么入账
  • 季度所得税从业人员怎么填
  • 发票没用完可以申请超限量吗
  • 养老险的基数
  • 包装设置图片
  • 汽车固定资产清理账务处理
  • 现金存款凭证
  • 外贸企业仍一箱难求
  • 退税后钱到哪里
  • 含税进货价款怎么算
  • 案例分析关于拟建科学馆的请示报告
  • 哪些房产免纳房产税
  • 企业清算企业所得税税率
  • 工程物资建设期间盘盈盘亏
  • 其他应付款不需要支付是债务重组么
  • 服务费发生退回怎么处理
  • 一般纳税人开普票税率是3%还是13%
  • 什么叫保理支付
  • 稽查查补的税款可以享受即征即退吗
  • 工资放在主营业务成本和放在管理费用一样吗
  • 人身意外保险费可以扣除企业所得税吗
  • 在国外餐厅吃饭服务费和税费
  • 消费税应纳税额计算方法是什么有何特点
  • 新企业购买金税盘
  • 电脑开机黑屏没信号怎么回事
  • 投入法和产出法的确定属于会计估计变更吗
  • 卖固定资产如何申报
  • 怎么重装电脑xp
  • 个税的征税范围主要包括哪些项目
  • 电子商票到期后多少天有效?
  • emsm是什么意思
  • uni-app实战教程
  • ppap是什么意思中文
  • 单用户结构是什么
  • 带壳的栗子 (© Kai Keisuke/Shutterstock)
  • 医院产生的相关法律法规
  • 专利权属于什么会计科目
  • 个人博客登录入口
  • loss for
  • 工程检测业务
  • 应交税金应交增值税科目设置
  • 织梦cms为什么不维护了
  • 自然人个税申报密码怎么获取
  • 无形资产摊销是按原值吗
  • 增值税期末留抵退税原因采集确认单
  • 汇算清缴可以不调整吗
  • 溢价收购股权所得税税率
  • 筹建期的收入要交企业所得税吗
  • 国外扣款手续费
  • 销售部门招待费用预算
  • 企业退休返聘人员怎么规避风险
  • 员工餐费标准怎么算
  • 研发支出的定义
  • 安全生产费用提取标准 最新
  • 图文详解管道支架制作安装标准
  • win7和winxp区别
  • 磁盘已满
  • ubuntu系统怎么用
  • OS X Yosemite系统怎么制作u盘安装盘
  • xp如何改windows7
  • win7系统怎样
  • windows10磁盘100%占用解决
  • win10升级安装视频
  • Win10 Mobile10586.122更新了哪些内容?更新内容大全汇总
  • python中元组和列表
  • Build Qt5.3.1 for Freescale I.MX6Q based Linux 3.0.15
  • Node.js中的事件循环是什么意思
  • 打开指定文件夹命令
  • 只用html和css
  • linux开机启动进程
  • unity教程完整版
  • 关于成品油的吨油换算
  • 免征船舶吨税的范围
  • 重庆国税网上怎么申报
  • 出口退税 即征即退属于政府补助吗
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设