Page 1 of 2
Lightmap compression
Posted: Fri Feb 21, 2014 11:18 pm
by juanjp600
Lightmaps generated by 3D World Studio are BMP files with little to no compression. This small tool turns all the BMPs it can find into PNGs. It then moves the old files to a new folder ("GFX\map\bmp_lm").
Here's a download link:
https://www.mediafire.com/?vcdfuo1fxp6xnbu
Re: Lightmap optimization
Posted: Sat Feb 22, 2014 2:21 am
by ++Focus++
From what I heard, .png's are higher quality than .bmp's so this is a good thing to use if you want better quality. ;)
Re: Lightmap optimization
Posted: Sat Feb 22, 2014 8:35 pm
by juanjp600
++Focus++ wrote:From what I heard, .png's are higher quality than .bmp's so this is a good thing to use if you want better quality. ;)
There's no quality change if you use this, since it only converts the files to PNGs. However, you can greatly reduce the filesize; on average, each PNG needs nearly 20 times less disk space than the original BMP.
Re: Lightmap optimization
Posted: Sat Mar 22, 2014 9:58 pm
by mrpeanut188
Would the game search for lightmaps with .bmp files, or is no source-code modification required?
Re: Lightmap optimization
Posted: Sat Mar 22, 2014 10:07 pm
by juanjp600
mrpeanut188 wrote:Would the game search for lightmaps with .bmp files, or is no source-code modification required?
The game looks for the textures defined in the rmeshes. This tool will edit the rmeshes, so no source code edits are needed.
Re: Lightmap optimization
Posted: Sat Mar 22, 2014 10:37 pm
by Brunou8
I have tested this and there are changes that can be seen with the naked eye, at least in the beginning, however I can't see the difference after SCP-173 escapes from his containment chamber, everything seems to look the same, I don't know why.
Re: Lightmap optimization
Posted: Sat Mar 22, 2014 10:42 pm
by juanjp600
Brunou8 wrote:I have tested this and there are changes that can be seen with the naked eye, at least in the beginning, however I can't see the difference after SCP-173 escapes from his containment chamber, everything seems to look the same, I don't know why.
Seeing any differences at all is a bug. Can you give me a screenshot of how the intro sequence looks like?
Re: Lightmap optimization
Posted: Sat Mar 22, 2014 11:54 pm
by Brunou8
Here's a comparison:
As you can see, the game looks more brilliant after the optimization. I'm not sure if that is a bug.
Re: Lightmap optimization
Posted: Sun Mar 23, 2014 2:13 am
by Irontaco
I can kinda notice some brightness or contrast change in the doors. Kinda, other than that, not much.
Doesn't image compression usually cause side effects?
Re: Lightmap optimization
Posted: Sun Mar 23, 2014 2:25 am
by Princess Luna
I like the before image better. The after looks too bright to me.