NG|mods

Tag: TMP

Damage Mesh Optimization

by gdata on Aug.30, 2009, under Trek Battles

Original Mesh

Original Mesh

As Trek Battles 3 will contain a lot of new ships of unprecedented quality many people ask what we are going to do to optimize the game for performance as well as for quality. Here is one little trick we use to avoid (or at least reduce) ingame lag: We optimize damage meshes. As this might be a little bit difficult to imagine for people who do not mod Legacy themselves, I have a short (visual) example here for you.

optimizedmesh

Optimized Mesh

Legacy uses damage meshes, these meshes appear when a ship gets damaged and there is a hole in its hull. Usually these meshes are duplicates from the original mesh with the little difference that a texture has been applied that simulates damage. This is also the way Bethesda, or actually MadDoc, did it. This means that you always have twice as many polygons as usually (without the damage mesh). And with detailed models the poly count also grows. To avoid lag during gameplay we decided to create an extra damage mesh for the higher poly ships. Some of these are tiptop’s TMP ships. On left side we have a picture of the original mesh and here on the right side is the optimized mesh. The polygon count of the Saratoga’s damage mesh has been reduced about 90%. So the overall polygon count can be reduced to almost 50% percent of its original value. Right now we are replacing the damage meshes of our TMP era ships for the Federation and the Terrans. Fortunately we can use most of the damage meshes tiptop created for his TLE era ships.

Comments Off :, , , , , , , , more...