Create PVR texture from png file

来源:互联网 发布:药学知乎 编辑:程序博客网 时间:2024/05/21 02:19

转载: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

原创粉丝点击