iphone 中任何好的增强现实 API

发布于 2024-10-20 06:34:57 字数 1539 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

醉南桥 2024-10-27 06:34:57

的 UIViewController 中执行类似的操作:

ARGeoViewController *arController = [[ARGeoViewController alloc] init];
arController.debugMode = YES;
arController.delegate = self;
arController.scaleViewsBasedOnDistance = YES;
arController.minimumScaleFactor = .5;
arController.rotateViewsBasedOnPerspective = YES;

NSMutableArray *locations = [[NSMutableArray alloc] init];
CLLocation *tempLocation;
ARGeoCoordinate *tempCoordinate;
tempLocation = [[CLLocation alloc] initWithLatitude:40.756054 longitude:-73.986951];
tempCoordinate = [ARGeoCoordinate coordinateWithLocation:tempLocation];
tempCoordinate.title = @"New York City";
[locations addObject:tempCoordinate];
[tempLocation release];
[arController addCoordinates:locations];
[locations release];

[arController startListening];
[self presentModalViewController:arController animated:YES];

从 github 获取 http://www.iphonear.org/ 并从你 想要了解 arkit 的代码,查看 Jonathan Saggau 在 iDev|360 的演讲可能会有所帮助: http://www.jonathansaggau.com/blog/2010/10/iphone_ipad_devcon_sample_code.html

Get http://www.iphonear.org/ from github and do something like this from your UIViewController:

ARGeoViewController *arController = [[ARGeoViewController alloc] init];
arController.debugMode = YES;
arController.delegate = self;
arController.scaleViewsBasedOnDistance = YES;
arController.minimumScaleFactor = .5;
arController.rotateViewsBasedOnPerspective = YES;

NSMutableArray *locations = [[NSMutableArray alloc] init];
CLLocation *tempLocation;
ARGeoCoordinate *tempCoordinate;
tempLocation = [[CLLocation alloc] initWithLatitude:40.756054 longitude:-73.986951];
tempCoordinate = [ARGeoCoordinate coordinateWithLocation:tempLocation];
tempCoordinate.title = @"New York City";
[locations addObject:tempCoordinate];
[tempLocation release];
[arController addCoordinates:locations];
[locations release];

[arController startListening];
[self presentModalViewController:arController animated:YES];

If you want to understand the code from arkit, it may help to check the talk from Jonathan Saggau at iDev|360: http://www.jonathansaggau.com/blog/2010/10/iphone_ipad_devcon_sample_code.html

不爱素颜 2024-10-27 06:34:57

高通有一些有趣的项目 - 最近甚至有一场公司展示如何使用他们的产品的竞赛 - 更多信息请访问他们的网站

Qualcomm has some interesting items - there was even a competition recently for companies to showcase how their product could be used - more on their website

娇纵 2024-10-27 06:34:57

Metaio SDK 兼容 Android 和 iPhone。免费下载,但带有水印。 此链接还为您提供了所有教程和演示代码。希望这有帮助。

Metaio SDK is compatible for android and iPhone. Download is free, but with a watermark. This link also brings you to all the tutorials and demo code. Hope this helps.

一身软味 2024-10-27 06:34:57

2016年,苹果发布了一个名为ARKit的框架,可用于AR应用程序开发。 ARKit 随 iOS 11 一起引入。有关 ARKIT 和 API 用法的更多详细信息可以从以下链接获取。
https://developer.apple.com/augmented-reality/arkit/

In 2016, Apple released a framework called ARKit which can be leveraged for AR application development. ARKit was introduced along with iOS 11. More details on the ARKIT and the usage of the API's can be obtained from the below link.
https://developer.apple.com/augmented-reality/arkit/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文