Since I created the thread, maybe I should chime in again (I've been occupied with a bunch of other projects).
I got the develop branch to compile and run now. I have some questions though.
I never used the LargeVolume before, just SimpleVolume. Should the FilePager store blocks permanently or is it just temporary? Right now I just tried doing this:
Code:
MaterialDensityPair88 voxel;
voxel.setDensity(MaterialDensityPair88::getMaxDensity());
voxel.setMaterial(1);
largeVolume->setVoxelAt(Vector3DInt32(0, 0, 0), voxel);
largeVolume->flushAll();
I get a temporary file that represents the valid region, but it's deleted after I close the program. Should I take care of storing the entire world data myself? (I think probably, but I'm not sure)
Should I just consider the FilePager a sample implementation?
Another minor thing, the FilePager destructor says
Quote:
Failed to delete 'data/blocks/5170-0_0_0_31_31_31' when destroying FilePager
even though the file
is deleted.