foxostro / GutsyStormPython_Abandoned

Python game with boxy voxel terrain. (similar to Minecraft's terrain)
GNU General Public License v3.0
1 stars 0 forks source link

Stream chunks to/from disk as needed #5

Closed foxostro closed 12 years ago

foxostro commented 12 years ago

Stream chunks between disk and memory in an attempt to keep the number of loaded chunks under some configurable threshold. This will require design of an on-disk storage format.

foxostro commented 12 years ago

As of df8f13a27687a664f14074cfa830ef6443224d97, it is now possible to save and load chunks to disk. The chunk_test prototype does a round-trip to disk to test this out.

As of 7dcb35868bcce6770826e0dc4d974bce265574bb, the format has been changed to include vertices and vertex normals in the data saved to disk.

Next: Instead of generating terrain and geometry up-front, generate this data on the fly.

foxostro commented 12 years ago

b129733a8a203e51714c64a753b8ff54b96f5ef8