Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why there is .pvr file in OpenGL(IOS)

I am making application with OpenGL in IOS using PVR texture for making 3D effect.I couldn't understand about .pvr files.So please friends would you give idea about .pvr files and what's importance of it in OpenGL and how can i make it?

like image 654
sinh99 Avatar asked Dec 28 '22 22:12

sinh99


2 Answers

PVR file is a container for various texture format such as PVRTC, RGB565 and so forth. You can use directly these texture formats as is. If you use PNG, pixels might be pre-multiplied alpha.

PVRTC is compressed texture format that is natively supported by GPU (PowerVR MBX or SGX). GPU can render PVRTC effectively. It would increase framerate.

  • PVR Textures and Memory
  • Using texturetool to Compress Textures
  • PVRTexTool
like image 118
Kazuki Sakamoto Avatar answered Jan 03 '23 14:01

Kazuki Sakamoto


They are compressed texture files. You can convert more common formats into it using texturetool that comes with Xcode. Compressed textures save bandwidth, loading times and memory and speed up your application because they are compressed also in the video memory. They can also contain mipmaps.

like image 39
SurvivalMachine Avatar answered Jan 03 '23 15:01

SurvivalMachine