将.obj或.stl转换为.usdz的最简单方法是什么? [英] What is the easiest way to convert .obj or .stl to .usdz?

查看:1405
本文介绍了将.obj或.stl转换为.usdz的最简单方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple AR Quick Look显然仅支持.usdz文件.那么,将.obj.stl转换为.usdz的最简单方法是什么?

Apple AR Quick Look apparently only supports .usdz files. So, what is the easiest way to convert an .obj or .stl to .usdz?

我首先在Google上进行了搜索,但最受欢迎的结果是使用了名为 Vectary 的免费工具,但是当我实际尝试使用它时,它并不是免费的.

I googled this first but the most popular result was to use a free tool called Vectary, but when I actually tried to use it, it wasn’t free.

谢谢.

推荐答案

使用iOS 13&苹果公司发布了Reality Kit,它不需要Xcode的USDZ转换器.该转换器是一个基于Python的工具.最近几天我一直在使用它来转换各种文件gltf,obj文件.

With iOS 13 & Reality Kit, Apple has released a USDZ converter that does not require Xcode; the converter is a Python based tool. I have been using it the last few days to convert various files gltf, obj files.

下载链接:

https://developer.apple.com/download/more/?=USDPython

示例用法:

usdzconvert someobject.obj  

您将要编辑环境变量的路径.

You will want to edit paths for your environment variables.

或双击文件夹顶层中的文件:

Or double click the file which is in the top level of the folder:

USD.command

启动设置了环境变量的shell.

to launch a shell with the environment variables set.

在Xcode 11中,您可以将SCN文件导出为USDZ文件.

And within Xcode 11, you can export SCN files to USDZ files.

非常值得观看WWDC 2019的视频;刚刚超过30分钟:

It is well worth watching the WWDC 2019 video; it is just over 30 minutes:

https://developer.apple.com/videos/play/wwdc2019/602/

这篇关于将.obj或.stl转换为.usdz的最简单方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆