IOS ARKit开发文档

来源:互联网 发布:中国对朝鲜的影响知乎 编辑:程序博客网 时间:2024/05/22 07:43

ARKit

示图

引言:在今天早上凌晨举行的WWDC2017大会上,ARKit无疑是一个亮点。苹果在自家的开发组件中加入ARKit,降低了增强现实的开发难度,效果却提高了很多,并且结合自家的硬件,使最终产生非常棒的视觉效果。这也加快了AR技术在各行业的技术落地,使AR技术在实际生产工作中有了更深的切入。


这里会翻译ARKit的技术文档,并且写了一个简单的小Demo,点击这里查看.


Integrate iOS device camera and motion features to produce augmented reality experiences in your app or game.

集成iOS设备的摄像头和移动特性,可以在你的应用或游戏中产生增强现实体验。

Augmented reality (AR) describes user experiences that add 2D or 3D elements to the live view from a device’s camera in a way that makes those elements appear to inhabit the real world. ARKit combines device motion tracking, camera scene capture, advanced scene processing, and display conveniences to simplify the task of building an AR experience.

增强现实(AR)描述用户体验,将2D或3D元素从设备的摄像头中添加到实时视图中,从而使这些元素出现在真实世界中。ARKit结合了设备运动跟踪,摄像镜头捕捉,先进的场景处理,以及显示方便来简化建立AR体验的任务。

Topics 主题


First Steps(第一步)

Understanding Augmented Reality.

Discover concepts, features, and best practices for building great AR experiences.

ARSession

A shared object that manages the device camera and motion processing needed for augmented reality experiences.

理解增强现实

发现概念、特性和最佳实践来构建很好的AR体验。

ARSession

一个共享对象,可以管理增强现实体验所需的设备摄像头和运动处理

Configurations(配置)

ARSessionConfiguration

A basic configuration that tracks a device’s orientation only.

ARWorldTrackingSessionConfiguration

A configuration that tracks a device’s orientation and position, and that detects real-world surfaces seen by the device camera.

ARSessionConfiguration

只记录设备方向的轨迹的基本配置

ARWorldTrackingSessionConfiguration

一种跟踪设备定位和位置的配置,它可以检测设备摄像头看到的真实表面。

Standard Views(标准视图)

Building a Basic AR Experience

Configure an AR session and use SceneKit or SpriteKit to display AR content.

ARSCNView

A view for displaying AR experiences that augment the camera view with 3D SceneKit content.

ARSKView

A view for displaying AR experiences that augment the camera view with 2D SpriteKit content.

构建一个基本的AR体验

配置一个AR会话并使用SceneKit或SpriteKit来显示AR内容

ARSCNView

一种显示AR体验的视图,它通过3D SceneKit内容增强了相机视图。

ARSKView

一种显示AR体验的视图,增加了2D SpriteKit内容的摄像头视图。

Custom Views(自定义视图)

Displaying an AR Experience with Metal

Build a custom AR view by rendering camera images and using position-tracking information to display overlay content.

在Metal中显示一个AR经验

通过渲染摄像机图像和使用位置跟踪信息来显示覆盖内容来构建定制的AR视图。

Real-World Objects and Positions(现实世界的对象和位置)

ARAnchor

A real-world position and orientation that can be used for placing objects in an AR scene.

ARPlaneAnchor

Information about the position and orientation of a real-world flat surface detected in an AR session.

ARHitTestResult

Information about a real-world surface found by examining a point in the device camera view of an AR session.

ARAnchor

可以用于在AR场景中放置对象的实际位置和方向。

ARPlaneAnchor

关于在AR会话中检测到的真实平面的位置和方向的信息。

ARHitTestResult

通过在一个AR会话的设备摄像头视图中检查一个点来发现真实世界的信息。

Camera and Scene Details(镜头和场景的详细信息)

ARFrame

A video image and position tracking information captured as part of an AR session.

ARCamera

Information about the camera position and imaging characteristics for a captured video frame in an AR session.

ARLightEstimate

Estimated scene lighting information associated with a captured video frame in an AR session.

ARFrame

作为AR会话的一部分捕获的视频图像和位置跟踪信息。

ARCamera

在AR会话中捕获视频帧的摄像机位置和图像特征的信息。

ARLightEstimate

在AR会话中,估算场景照明与视频帧捕获的相关信息。

原创粉丝点击