S3TC compression on those textures?

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

S3TC compression on those textures?

Post by Rheini » Tue Sep 29, 2009 9:24 pm

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 » Sat Oct 03, 2009 10:29 am

S3TC has a fixed compression ratio, and those textures seem to have a variable compression ratio.

Rheini
Moderator
Posts: 653
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 40 times
Contact:

Re: S3TC compression on those textures?

Post by Rheini » Sat Oct 03, 2009 2:11 pm

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.

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Re: S3TC compression on those textures?

Post by Mr.Mouse » Thu Oct 08, 2009 8:53 pm

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: 653
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 40 times
Contact:

Re: S3TC compression on those textures?

Post by Rheini » Thu Oct 08, 2009 8:58 pm

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

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Re: S3TC compression on those textures?

Post by Mr.Mouse » Thu Oct 08, 2009 9:27 pm

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: 653
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 40 times
Contact:

Re: S3TC compression on those textures?

Post by Rheini » Thu Oct 08, 2009 9:59 pm

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