Work on mesh decimation.

This commit is contained in:
David Williams
2007-09-09 23:28:09 +00:00
parent c2194378cd
commit 358192b38a
3 changed files with 262 additions and 204 deletions

View File

@ -1010,11 +1010,11 @@ namespace Ogre
iterPatch->second.computeNormalsFromVolume(volIter);
iterPatch->second.endDefinition();
bool removedVertex = false;
do
{
removedVertex = iterPatch->second.decimate();
}
while(removedVertex);
//do
//{
removedVertex = iterPatch->second.decimate2();
//}
//while(removedVertex);
}
//LogManager::getSingleton().logMessage("Finished Generating Mesh Data");