Experimenting - Soldiers - DDS to PNG
Experimenting - Soldiers - DDS to PNG
All , I took one of the uniforms from the previous game and then converted over to this game saving them as dds files. This part is already known by some of you.
The 43 files saved as dds came to approximately 33.2 MB .
I then converted the same 43 files but this time saving them as png files with an Alpha-Channel and the file size went down to 11.9 MB . That is quite a memory savings.
I only experimented with one of the uniforms so far, but this looks quite promising.
Just thought that I would share this info with some of the modders.
davinci
The 43 files saved as dds came to approximately 33.2 MB .
I then converted the same 43 files but this time saving them as png files with an Alpha-Channel and the file size went down to 11.9 MB . That is quite a memory savings.
I only experimented with one of the uniforms so far, but this looks quite promising.
Just thought that I would share this info with some of the modders.
davinci
The only true logic is that, there is no true logic!
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
Re: Experimenting - Soldiers - DDS to PNG
It's probably all the white space around the individual sprites. That probably allows for good compression. When they are packed, (less white space), the dds size is usually smaller than the png size.
I can make this march and I will make Georgia howl.
Re: Experimenting - Soldiers - DDS to PNG
I assume that after the PNGs are loaded by the game, it stores them in memory uncompressed in the format that they are rendered. When you download the game / mods they're always zipped so the files are already compressed, so png vs dds doesn't change anything. This would change how much space they take up on your hard drive. I don't know how it affects game loading time. It's either positive because of less reading from the hard drive, or negative due to the overhead of decompressing the images.
I can't imagine it having any effect on performance while running the game. Is there a reason it would?
I can't imagine it having any effect on performance while running the game. Is there a reason it would?
Re: Experimenting - Soldiers - DDS to PNG
It's probably all the white space around the individual sprites. That probably allows for good compression. When they are packed, (less white space), the dds size is usually smaller than the png size.
So basically I'm just saving memory on the Hard-Drive and not memory in the game, that's not that good!This would change how much space they take up on your hard drive. I don't know how it affects game loading time. It's either positive because of less reading from the hard drive, or negative due to the overhead of decompressing the images.
Well, considering that I have already started converting the uniforms to the png format, I'll continue and play around with it for a few months.
Also, some of the houses and the roofs do work better as png files, the dds-roofs seem to display moving artifacts while in the game.
Thanks, for the information!
davinci
The only true logic is that, there is no true logic!
Re: Experimenting - Soldiers - DDS to PNG
I don't know for sure how the game handles it, I just wouldn't expect this to change the memory consumption of the game after it's loaded. AFAIK textures are usually stored in memory uncompressed.
Re: Experimenting - Soldiers - DDS to PNG
Thanks, after reading yours and MTG's response I went and did a Google search about how games handle various texture files.I don't know for sure how the game handles it, I just wouldn't expect this to change the memory consumption of the game after it's loaded. AFAIK textures are usually stored in memory uncompressed.
It seems that there are pro’s and con’s too both of them.
I converted seven of the uniforms and can’t really tell any performance increase or decrease, but the (dds) uniforms seem to look better in the game compared to the (png) uniforms.
I do like the way that the (png) files work with the houses and the roofs compared to the (dds) houses.
Hmm, I might as well try the trees and the fences next to see if that makes a difference.
davinci
The only true logic is that, there is no true logic!
-
- Reactions:
- Posts: 2171
- Joined: Sat Dec 24, 2011 4:49 am
Re: Experimenting - Soldiers - DDS to PNG
I've noticed moiré effects on some buildings, usually the roof tiles and the walls if the textures are planked. The moiré noise is caused by the density of lines on a game's textures and your monitor refresh rate. Mine's a flat screen running at 60Hz which I think is quite common though. Its a similar effect to how a spinning spoked wheel can appear stationary on some movies.Also, some of the houses and the roofs do work better as png files, the dds-roofs seem to display moving artifacts while in the game.
It would be good to see this graphic noise removed if possible.
HITS & Couriers - a different and realistic way to play SoW MP.
Re: Experimenting - Soldiers - DDS to PNG
True, I'm also running a 32"-flat-screen with the game so the artifacts are quite noticeable while in the F-Key-Mod .Mine's a flat screen running at 60Hz which I think is quite common though. Its a similar effect to how a spinning spoked wheel can appear stationary on some movies.
It would be good to see this graphic noise removed if possible.
But, I really wasn't trying to remove them at first, I was taking one of the houses and making multiple houses from that one by changing the textures and the doors and windows.
But, as mentioned above, this does increase the size of the files which might not be a good thing.
davinci
Last edited by Davinci on Tue Mar 25, 2014 4:56 pm, edited 1 time in total.
The only true logic is that, there is no true logic!
- RebBugler
- Reactions:
- Posts: 4252
- Joined: Sun Aug 03, 2008 12:51 am
- Location: Ouachita Mountains, Arkansas
Re: Experimenting - Soldiers - DDS to PNG
moiré noise eh? ...I called it the 'shimmering effect. To try and eliminate this 'noise' I also tried to find other compression formats for my flags, .tga conversions work for removing the shimmer but have other issues.
Yeah, a .dds replacement would be nice. At least it makes waterways look more real, until the the camera halts. :huh:
Good quest here D, keep at it.
Yeah, a .dds replacement would be nice. At least it makes waterways look more real, until the the camera halts. :huh:
Good quest here D, keep at it.

Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Re: Experimenting - Soldiers - DDS to PNG
The png files seem to work very good with the fences also; the default worm-fence is saved as a tga files with a size of 256kb.
The png file is only 30kb but as far as I can tell it doesn't seem to affect the game for better or for worse.
I would think that that would be a good memory savings with so many fences, but apparently not!
But, I like the look of the lighter brown fences, I don't really know if that is an accurate-looking-fence color but it blends in with the terrain.
davinci
The png file is only 30kb but as far as I can tell it doesn't seem to affect the game for better or for worse.
I would think that that would be a good memory savings with so many fences, but apparently not!
But, I like the look of the lighter brown fences, I don't really know if that is an accurate-looking-fence color but it blends in with the terrain.
davinci
- Attachments
-
- Fence2.jpg (196.95 KiB) Viewed 357 times
-
- Fence.jpg (162.67 KiB) Viewed 357 times
Last edited by Davinci on Fri Mar 28, 2014 4:31 am, edited 1 time in total.
The only true logic is that, there is no true logic!