Kevin Vance - That's the output of my texture compressor running on an…

Entries | Archive | Friends | Friends' Friends | User Info

03:05 pm

Monday, March 23rd, 2009
Previous Entry Share Next Entry

Compression screenshot

That's the output of my texture compressor running on an emulator, compared to the original. It also works on the hardware. The result is still rather blocky, but I have an idea of how to make it look better... hopefully not requiring a small cluster to do the calculations...

Anyway, this is the first non-trivial image compressor I've ever done. It's slow and the results are not that great yet, but I am feeling pretty good about it. According to my git logs, I started this last Tuesday evening. If I keep getting into these side projects, I'm never going to get any work done on that simple little game I was trying to write :P
Link )Reply )

From: preshgsi
2009-03-23 09:59 pm (UTC)
Wow, sweet. Blatent use of GIMP ftw. :P

Maybe there's some sort of hardware-based blur you can do? Very light would probably be jsut perfect.
(Reply) (Thread)
[User Picture]From: kvance
2009-03-23 11:59 pm (UTC)
Unfortunately, the hardware doesn't support any kind of pixel shading. Right now I'm looking at taking a second pass over the image, and brute force searching the palette for a better match on any block with too high an error. It's looking pretty slow, and I'm not even sure it's going to improve anything.

Either way I'm declaring victory, since I think an 8x resolution increase outweighs the compression artifacts I have now :)
(Reply) (Parent) (Thread)