Page 1 of 1

Squarablity of the maps

Posted: 24 Nov 2014, 22:50
by Orfelius
Why do a lot maps have diffuse composed with squares? Is this some kind of compression setting in mapconv? Or maby these are just because of conversions from another format. Please tell me I would really like to know that.

Re: Squarablity of the maps

Posted: 24 Nov 2014, 22:57
by enetheru
Orfelius wrote:Why do a lot maps have diffuse composed with squares? Is this some kind of compression setting in mapconv? Or maby these are just because of conversions from another format. Please tell me I would really like to know that.
Not sure exactly what you are saying but; the map format for the diffuse is made up of 32x32 pixel squares. compression ammount's to using the same square multiple times.

Any time you use mapconv it splits the diffuse picture up into these 32x32 images and compresses them with dxt1 algorithm before putting them into the smt.

within the smf there is a map which references the squares from the smt.

Re: Squarablity of the maps

Posted: 24 Nov 2014, 23:08
by jK
Terrain is rendered in patches, each has a 1024x1024 texture which equals to 2x2 map tiles.