Work on mesh decimation.

This commit is contained in:
David Williams
2007-09-20 20:10:25 +00:00
parent 778ac2be9c
commit 00dbe56ef7
5 changed files with 40 additions and 190 deletions

View File

@ -61,10 +61,10 @@ namespace Ogre
volIter.setVoxelAt(x,y,z,value);
if(z < 24)
{
//if(x % 32 < 16)
if(x % 32 < 16)
volIter.setVoxelAt(x,y,z,4);
/*else
volIter.setVoxelAt(x,y,z,5);*/
else
volIter.setVoxelAt(x,y,z,5);
}
else
volIter.setVoxelAt(x,y,z,0);