- March 3, 2009 at 11:01 am #29722
I have created the pvr file from png file using PVRTexTool but the image is distorted. I have also created the corresponding cpp file using PVRTexTool and it compiles and executes also.But is there any way to create pvr and cpp file through content.mak file provided in the SDKMarch 3, 2009 at 11:22 am #32791
In what way is the image distorted? What are the dimensions of the png file? Which version of PVRTexTool are you using and on what platform?
I’m not sure how you’ve made a cpp file from PVRTexTool as the utility doesn’t produce these – did you use FileWrap?
The content.mak files in the SDK are nmake.exe makefiles that contain paths to the command line version of PVRTexTool and the FileWrap utility – if these are set correctly then the makefiles produce .cpp files. You can alter them to use your own images simply by editing the paths provided to point to your files.
Gordon 2009-03-03 11:22:58