批量将Apple SCN文件转换为DAE [英] Batch Converting Apple SCN files into DAE

查看:71
本文介绍了批量将Apple SCN文件转换为DAE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我有一个经过测试的iOS应用程序,该应用程序基本上是通过蛮力从应用程序中导出SCN文件的,基本上每秒大约60个SCN文件.

Currently I have this test iOS app that basically brute force export SCN files out of the app, basically at around 60 SCN files per second.

由于我没有更好的方法可以在设备仿真中导出此结果,因此这是我当前的解决方案.

Since I do not have any better way to export this on device simulation, this is my current solution.

无论如何,是否存在将SCN文件格式批量转换为DAE Collada的已知方法?我可以使用XCode进行手动导出,但似乎一次只能工作一次.不会很有趣.

Anyhow, is there a known way to batch convert SCN file format into DAE Collada? I can do manual export using XCode, but seems to work once at time. Not gonna be fun.

是否有使用Playground实际执行此操作的快速方法?

Is there a quick way using Playground to actually do this?

谢谢!

推荐答案

您可以尝试使用 xcrun 命令运行 scntool 并为其提供输入/输出文件,然后格式.

You can try the xcrun command to run scntool and provide it input/output files, then the format.

xcrun scntool --convert fileIn.scn --output fileOut.dae --format dae

这篇关于批量将Apple SCN文件转换为DAE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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