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

查看:172
本文介绍了将 .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?

我首先用谷歌搜索了这个,但最受欢迎的结果是使用一个名为 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.

谢谢.

推荐答案

With 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天全站免登陆