More renaming blocks to chunks.

This commit is contained in:
David Williams
2014-09-20 23:27:28 +02:00
parent 0ab7f27f0f
commit 71035029d1
6 changed files with 63 additions and 71 deletions

View File

@ -156,7 +156,6 @@ int main(int argc, char *argv[])
//createPerlinVolumeSlow(volData);
std::cout << "Memory usage: " << (volData.calculateSizeInBytes()/1024.0/1024.0) << "MB" << std::endl;
//std::cout << "Compression ratio: 1 to " << (1.0/(volData.calculateCompressionRatio())) << std::endl;
//volData.setBlockCacheSize(64);
PolyVox::Region reg(Vector3DInt32(-255,0,0), Vector3DInt32(255,255,255));
std::cout << "Prefetching region: " << reg.getLowerCorner() << " -> " << reg.getUpperCorner() << std::endl;
volData.prefetch(reg);