如何再次从ZIP文件生成USDZ文件? [英] How to generate USDZ file again from ZIP file?

查看:235
本文介绍了如何再次从ZIP文件生成USDZ文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在尝试解压缩USDZ文件,修改纹理,然后再次压缩USDZ文件,但是会中断.

Hello everyone I'm trying to unzip a USDZ file, modify a texture, and then zip the USDZ file again, but it breaks.

有什么特殊的方法可以将文件压缩回去吗?即使我再次解压缩,它也会停止工作并具有不同的文件大小.

Is there any special way to zip the file back? Even if I decompress and compress again it stops working and has different file size.

我不使用压缩和加密来压缩文件.我注意到的一件事是,USDZ文件的需要提取"属性为"2.0或更高版本",而我的新zip文件值为"1.0或更高版本".另外,原始USDZ zip中的文件还有一些我无法读取或添加到新文件中的额外字段.

I'm using no compression and no encryption to zip the file. One thing I have noticed is that the attribute "Needed to extract" for the USDZ file is "2.0 or later" while my new zip file value is "1.0 or later". Also the files in the original USDZ zip have some extra fields I cannot read or add to my new file.

可能会发生什么?任何帮助将不胜感激.

What could be happening? Any help would be appreciated.

推荐答案

要打包修改后的USDZ文件,我使用了此处提供的工具: https://github.com/PixarAnimationStudios/USD (usdzip),可在Windows和Linux中使用.

To pack my modified USDZ file back, I used the tools provided here: https://github.com/PixarAnimationStudios/USD (usdzip) which works in Windows and Linux.

这篇关于如何再次从ZIP文件生成USDZ文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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