URL:
<http://gna.org/patch/?830>
Summary: Possibly faster terrain rendering
Project: Warzone Resurrection Project
Submitted by: cybersphinx
Submitted on: Monday 11/05/2007 at 00:13
Category: Fix
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
These patches (for trunk and 2.0) change the terrain rendering to use quads
(well, triangle strips with four vertices) instead of triangles. This will
save one glBegin/End call per tile, and upload four instead of six vertices.
(The trunk patch itself is quite unreadable, if you want to see the changes,
open display3d.c twice, once with and once without the patch. Surprisingly,
the code in 2.0 was more readable.)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Monday 11/05/2007 at 00:13 Name: wz2.0_use_quads_for_terrain.patch
Size: 4kB By: cybersphinx
<http://gna.org/patch/download.php?file_id=3139>
-------------------------------------------------------
Date: Monday 11/05/2007 at 00:13 Name: use_quads_for_terrain_drawing.patch
Size: 4kB By: cybersphinx
<http://gna.org/patch/download.php?file_id=3138>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?830>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev