New Tiles for 2.3.x

Improving the artwork in Warzone2100 - not for mod discussions
Post Reply
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

New Tiles for 2.3.x

Post by milo christiansen »

I made a very simple replacement set of Arizona tiles from the master terrain textures but I so far only have 128x128 versions of each tile. Does anyone know of a good mipmap generator that will work for making the other resolutions needed?

Anyway here is a copy of what I have so far. The transition tiles are rather poorly done but if you squint a little you can imagine you are playing 3.0 XD
Attachments
New WZ Tiles.7z
The new tiles. 128x128 only, sorry.
(2.28 MiB) Downloaded 357 times
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
Boris
Trained
Trained
Posts: 283
Joined: 24 Apr 2010, 13:52
Location: About 10 years playing and creating warzone.
Contact:

Re: New Tiles for 2.3.x

Post by Boris »

faster way is with irfan view.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: New Tiles for 2.3.x

Post by NoQ »

bash/imagemagick solution:

Code: Select all

$ for i in 16 32 64; do mkdir -p tertilesc1hw-$i; for j in {01..77}; do convert -resize $i tertilesc1hw-128/tile-$j.png tertilesc1hw-$i/tile-$j.png; done; done
Here is the result packed as a mod:
Attachments
milo_tiles.wz
(2.8 MiB) Downloaded 370 times
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: New Tiles for 2.3.x

Post by cybersphinx »

If that's not the default, it should probably use "convert -filter Box...", since OpenGL (or at least Mesa) does the same. Also, GNU parallel can replace at least one of the for loops, to run as many processes as you have cores in parallel.
We want information... information... information.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: New Tiles for 2.3.x

Post by NoQ »

:oops:
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: New Tiles for 2.3.x

Post by Per »

Nothing to be ashamed of. Not everyone can be a born again Bash scripter ;)
Jorzi
Regular
Regular
Posts: 2063
Joined: 11 Apr 2010, 00:14

Re: New Tiles for 2.3.x

Post by Jorzi »

On the other hand, the lower mipmaps would probably look better with a gauss or mitch filter, or am I missing something here?
ImageImage
-insert deep philosophical statement here-
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: New Tiles for 2.3.x

Post by cybersphinx »

Well, a box filter takes 2x2, 3x3... pixels and averages them, so you don't get any scaling artifacts that would break tiling. With the more fancy filters that's a risk, and you'd need to put one tile in a 3x3 pattern, filter that, take the center tile, and hope that this then tiles properly. But I forgot that we generously cut off tile borders anyway to prevent terrain seams, so the used algorithm doesn't really matter much.
We want information... information... information.
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: New Tiles for 2.3.x

Post by milo christiansen »

And even if there are scaling artifacts did I mention that I made the transition tiles by layering the tiles in question and erasing the parts I didn't want, leading to really horrible results? :wink:
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
Post Reply