Page 1 of 1

S3TC compression on those textures?

Posted: Tue Sep 29, 2009 9:24 pm
by Rheini
Could it be that these textures use the S3TC compression? I read it was introduced in DirectX 6, so it could be possible, cause Dungeon Keeper 2 was released in 1999.

Re: S3TC compression on those textures?

Posted: Sat Oct 03, 2009 10:29 am
by GameZelda
S3TC has a fixed compression ratio, and those textures seem to have a variable compression ratio.

Re: S3TC compression on those textures?

Posted: Sat Oct 03, 2009 2:11 pm
by Rheini
Yeah I also read that.
Anyway in the meantime I found the class that handles the textures in the code.
Gotta investigate it as soon as I have some time.

Re: S3TC compression on those textures?

Posted: Thu Oct 08, 2009 8:53 pm
by Mr.Mouse
Ok, so I've been in touch with Darren Pattenden, one of the game's artists, and he tells me that the original textures were .PNG. Perhaps that helps.

Re: S3TC compression on those textures?

Posted: Thu Oct 08, 2009 8:58 pm
by Rheini
Yeah I know, but the main engine textures are somehow compressed.
Here's the progress thread if anyone's interested:
http://forum.keeperklan.com/dk2-texture ... -t220.html

Re: S3TC compression on those textures?

Posted: Thu Oct 08, 2009 9:27 pm
by Mr.Mouse
Yes, therefore I have asked Darren if he remembers anything about what the programmers did to those .PNG files he created.

Good work by the way! Nice thread you got there! :)

Re: S3TC compression on those textures?

Posted: Thu Oct 08, 2009 9:59 pm
by Rheini
Thanks for that :)
Artists normally don't have much insights into code internals though.
Yeah, we finally found the code for de-/compression, we "just" need to misuse the exe as a dll for our purposes :wink:
Pretty interesting, but yet complicated task.