URL:
<http://gna.org/patch/?845>
Summary: Reduce the tile borders (2.0)
Project: Warzone Resurrection Project
Submitted by: cybersphinx
Submitted on: Saturday 11/10/2007 at 22:14
Category: Fix
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This patch changes all GL_CLAMPs to GL_CLAMP_TO_EDGE (not all are strictly
necessary, but I don't think it hurts either, because those are just for
backdrops etc.), and limits the used mipmap levels to 4 (via
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LOD, 3) - this is currently
done unconditionally, I don't think it matters for models, but I can also put
it before terrain rendering and reset after, if desired). Additionally, I
changed the texture filtering to trilinear (this was inconsistent before -
pie_AddBMPtoTexPages used bilinear, pie_ChangeTexPage trilinear filtering).
Also attached are remade terrain tiles from the original images, with
additional colour pixels even where alpha is 1. I added an alpha value to the
water tile, so now water is translucent. Due to the tiles not being blurred,
the files are a good bit smaller than before (4 vs. 8.5 MB all together).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Saturday 11/10/2007 at 22:14 Name: tertilesc1hw.png Size: 620kB By:
cybersphinx
<http://gna.org/patch/download.php?file_id=3185>
-------------------------------------------------------
Date: Saturday 11/10/2007 at 22:14 Name: reduce_tile_borders.patch Size:
5kB By: cybersphinx
<http://gna.org/patch/download.php?file_id=3184>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?845>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev