Work on mesh decimation.

This commit is contained in:
David Williams
2007-09-18 16:05:24 +00:00
parent 336eba9680
commit 487962ad31
2 changed files with 13 additions and 5 deletions

View File

@ -1010,12 +1010,12 @@ namespace Ogre
iterPatch->second.computeNormalsFromVolume(volIter);
iterPatch->second.endDefinition();
bool removedVertex = false;
for(uint ct = 0; ct < 10; ct++)
//do
//for(uint ct = 0; ct < 10; ct++)
do
{
removedVertex = iterPatch->second.decimate3();
}
//while(removedVertex);
while(removedVertex);
}
//LogManager::getSingleton().logMessage("Finished Generating Mesh Data");