mirv the Silly Fish

09-14-2008, 11:26 AM

Hello,

Hopefully a simple question: I've had some problems updating a dxt1 compressed image (it fails sometimes, works on others, always works if I update the entire texture in small blocks), but have read some conflicting data as to possible reasons.

I update in 128x128 blocks along pixel boundaries of multiples of 4, however I've noted some people say it should be multiples of 4, but then mention it should be a power of 4.

So I'm curious as to which it should be: a multiple of 4, or a power of 4? Note that I haven't tried swapping in 256x256 blocks yet, as even if that works, I'm more curious as to what it's supposed to be.

Hopefully a simple question: I've had some problems updating a dxt1 compressed image (it fails sometimes, works on others, always works if I update the entire texture in small blocks), but have read some conflicting data as to possible reasons.

I update in 128x128 blocks along pixel boundaries of multiples of 4, however I've noted some people say it should be multiples of 4, but then mention it should be a power of 4.

So I'm curious as to which it should be: a multiple of 4, or a power of 4? Note that I haven't tried swapping in 256x256 blocks yet, as even if that works, I'm more curious as to what it's supposed to be.