转载:https://discussions.apple.com/thread/1900989?start=0&tstart=0
Hi,
I have one image file in png format. I want to create texture out of that image. To convert into texture format .pvr I am using following command:
$ ./texturetool -e PVRTC -o ./image.pvr ./image.png
image.pvr file is getting created but with zero bytes file size. I loaded and tested it nothing comes blank screen.
Please tell me syntax of conversion from png or jpg to .pvr.
I guess that you are missing the format
I use (to convert from png to pvr) the following:
./texturetool -e PVRTC -p aPreview.png -o output.pvr -f PVR input.png
Hope it helps,
Josejulio Martínez
查看过帮助之后发现,如下即可:
./texturetool -e PVRTC -o output.pvr -f PVR input.png
本文详细介绍了如何使用texturetool命令将PNG图像文件转换为PVR纹理格式,并解决了在转换过程中遇到的问题,最终成功创建了包含有效数据的PVR文件。
1435

被折叠的 条评论
为什么被折叠?



