Important information: this site is currently scheduled to go offline indefinitely by end of the year.

S3TC compression on those textures?

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

S3TC compression on those textures?

Post 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.
You do not have the required permissions to view the files attached to this post.
GameZelda
advanced
Posts: 61
Joined: Wed Nov 14, 2007 5:56 pm
Been thanked: 29 times

Re: S3TC compression on those textures?

Post by GameZelda »

S3TC has a fixed compression ratio, and those textures seem to have a variable compression ratio.
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Re: S3TC compression on those textures?

Post 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.
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Re: S3TC compression on those textures?

Post 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.
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Re: S3TC compression on those textures?

Post 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
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Re: S3TC compression on those textures?

Post 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! :)
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Re: S3TC compression on those textures?

Post 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.
Post Reply