Work on LargeVolume refactoring - getting FilePager working.

This commit is contained in:
David Williams
2013-06-25 23:34:58 +02:00
parent 0cf3de4e76
commit 8ab6d73f0a
4 changed files with 19 additions and 8 deletions

View File

@ -85,8 +85,8 @@ int main(int argc, char *argv[])
FilePager<uint8_t>* pFilePager = new FilePager<uint8_t>("D:/temp/voldata/");
LargeVolume<uint8_t> volData(PolyVox::Region(Vector3DInt32(0,0,0), Vector3DInt32(63, 63, 63)), pCompressor, pFilePager, 32);
//volData.setMaxNumberOfUncompressedBlocks(6);
//volData.setMaxNumberOfBlocksInMemory(7);
volData.setMaxNumberOfUncompressedBlocks(6);
volData.setMaxNumberOfBlocksInMemory(7);
createSphereInVolume(volData, 30);