foxostro / GutsyStormPython_Abandoned

Python game with boxy voxel terrain. (similar to Minecraft's terrain)
GNU General Public License v3.0
1 stars 0 forks source link

Generate a more efficient terrain mesh #2

Open foxostro opened 12 years ago

foxostro commented 12 years ago
foxostro commented 12 years ago

Terrain geometry generation now excludes faces which are not exposed to air.

3cd0d8b25945351006a3fc94c135d2f39295a36e

foxostro commented 12 years ago

Next steps: It would still be useful to merge adjacent voxel faces where possible. Also, using tristrips instead of trilists would reduce the amount of geometry that is actually rendered.

foxostro commented 12 years ago

Reducing the amount of geometry with a more efficient mesh will also have a positive impact on the time to generate terrain and the time to generate chunk VBOs. I'm not sure how much of a win this would actually be, though...