ETC1 texture compression

  ... the case you feel the need for a new feature or want to submit one.

ETC1 texture compression

Postby cpasjuste » Thu Aug 05, 2010 8:12 pm

Would it be possible to add etc1 texture compression support to AndEngine ? This would be usefull for large backgrounds.

http://developer.android.com/reference/android/opengl/ETC1Util.html
cpasjuste
 
Posts: 63
Joined: Tue Jun 22, 2010 3:18 pm

Re: ETC1 texture compression

Postby Nicolas Gramlich » Thu Aug 05, 2010 10:38 pm

Hi,

afaik ETC1 is only supported by a minorty of Android devices.
There is also PVRTC for devices with PowerVR GPUs and ATITC for ATI GPUs.

I did not dig too deep into Texture-compression and decided that as only some devices would benefit from this I would wait until one standard (most likely ETC1 as it is the standard in OpenGL 2.0) will be supported by the majority of Android devices out there.

Best Regards,
Nicolas
Nicolas Gramlich
Site Admin
 
Posts: 1734
Joined: Mon Jun 07, 2010 6:20 pm
Location: Schriesheim, Germany

Re: ETC1 texture compression

Postby cpasjuste » Tue Aug 24, 2010 3:44 pm

In fact ETC1 texture compression extension is common on most recent devices. And if i understand correctly, the "ETC1Util.loadTexture" function will automatically fallback to normal texture if not supported. I tried to extend the texture classes to add etc1 textures but your whole texture management is too complicated for me :p
I think it would be really easy for you to implement and would be very usefull for intensive games.
cpasjuste
 
Posts: 63
Joined: Tue Jun 22, 2010 3:18 pm


Return to Features

Who is online

Users browsing this forum: No registered users and 6 guests