Skip to main content
Alex Maho
Participating Frequently
December 31, 2014
Answered

[Stage3D]The ATF compress texture quality loss in some phone.

  • December 31, 2014
  • 14 replies
  • 6191 views

Left picture is original. On the right is to use the ATF compress texture.

I used the command png2atf.exe -c e -q 0 -n 0,0 -r -4 -i "in.png" -o "out.atf"

The phone use android system 4.2.2 and CPU model is MT6592(GPU is "Mali 450 MP4").

This topic has been closed for replies.
Correct answer TheStalwart

Issue seems to be fixed in AIR SDK 23.0.0.215.

Tested on following devices:

LG Nexus 5X

Huawei G7 Plus

OPPO R7s

Samsung Galaxy S6

Samsung Galaxy Edge+

HTC One E9PLUS

14 replies

TheStalwart
TheStalwartCorrect answer
Inspiring
August 2, 2016

Issue seems to be fixed in AIR SDK 23.0.0.215.

Tested on following devices:

LG Nexus 5X

Huawei G7 Plus

OPPO R7s

Samsung Galaxy S6

Samsung Galaxy Edge+

HTC One E9PLUS

Alex Maho
Alex MahoAuthor
Participating Frequently
August 31, 2016

you are really good man.

Thank you keeping track of this topic.

Participant
July 28, 2016

I'd love to see this fixed.

TheStalwart
Inspiring
June 20, 2016

Issue is still reproducible with AIR SDK 22.0.0.153 released last friday

TheStalwart
Inspiring
April 11, 2016

Issue is still reproducible with AIR SDK 22.0.0.89

TheStalwart
Inspiring
May 26, 2016

Issue is still reproducible with AIR SDK 22.0.0.149 released today

TheStalwart
Inspiring
March 10, 2016

Issue is still reproducible with AIR SDK 21.0.0.176 released today

Alex Maho
Alex MahoAuthor
Participating Frequently
February 15, 2016

i really wish Adobe members fix the problem.

TheStalwart
Inspiring
February 15, 2016

I'm now waiting for the next beta to test - Bug#4041690 - ATF texture is corruption on MALI GPU platform

TheStalwart
Inspiring
February 18, 2016

The issue is still reproducible after rebuilding ATFs with 21.0.0.150, setting app namespace to 21.0 and swf-version to 32.

Device is LG Nexus 5X.

TheStalwart
Inspiring
February 3, 2016

Still reproducible with AIR SDK 21 Beta

TheStalwart
Inspiring
January 4, 2016

Still reproducible on LG Nexus 5X after rebuilding ATFs with 20.0.0.233, setting app namespace to 20.0 and swf-version to 31

TheStalwart
Inspiring
December 18, 2015

Issue still persists in AIR SDK 20.0.0.225

Alex Maho
Alex MahoAuthor
Participating Frequently
May 30, 2015

i find a solution.

don't use "-r -q and  -4".

just use -n 0,0(if you not used mipmap)  and -c e.

png2atf.exe -c e -n 0,0 -i "xxx.png" -o "xxx.atf"

ok. have a problem: the atf file will very big.

but you can use tool compression the ATF. The compression ratio is very high

when you loaded in memory get a ByteArray. use ByteArray.uncompress() method get the raw data.

upload to GPU will rapid.

when you uploaded to GPU, don't forget call ByteArray.clear();