如何处理 iPhone 相机数据并在其上叠加 3D 对象?

发布于 2024-09-27 19:07:17 字数 133 浏览 0 评论 0原文

我正在尝试开发一个增强现实 iPhone 应用程序,在其中我将在实时摄像头前放置一个 3D 对象。

我需要在用户向后/向前移动时放大和缩小对象,并在用户走动时旋转 3D 模型。

有没有办法在 iPhone 上做到这一点?

I am trying to develop an Augmented Reality iPhone application in which I will place a 3D object in front of a live camera feed.

I need to zoom in and zoom out the object as the user moves backward/forward, and rotate the 3D model as the user walks around.

Is there a way to do this on the iPhone ?

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

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

发布评论

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

评论(1

最初的梦 2024-10-04 19:07:17

Benjamin Loulier 的开源 VRToolkit 应用程序只是这个。它会根据编码标签在屏幕上覆盖 3D 模型,并根据该标签在 iPhone 摄像头查看的区域中的移动来旋转和缩放模型。

它利用 ARToolkitPlus 库 进行标记识别和处理。

但是,请注意,该库是 GPL 许可的,因此您需要在 GPL 下发布在此基础上构建的任何应用程序的源代码。

The open source VRToolkit application by Benjamin Loulier does just this. It overlays a 3-D model onscreen in response to coded tags, rotating and scaling them in response to movement of this tag in the area viewed by the iPhone camera.

It leverages the ARToolkitPlus library to do the marker identification and processing.

However, be aware that this library is GPL-licensed, so you will need to release the source code of any application you build on this under the GPL.

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