Voxel chunk management

Started by
-1 comments, last by steg 11 years ago

Hi,

I'm creating a voxel type game (like mine craft). I've got the rendering, camera etc all done. My chunks are 16x16x16 blocks. I only display chunks that are at a given distance from the camera. At the moment all my chunks are stored in an ArrayList (java). Now, what I'd like to know is, should you just add chunks to this array list when they are in view and remove when they aren't for memory reasons?

Thanks,

Steve

If it isn't working, take a bath, have a think and try again...

This topic is closed to new replies.

Advertisement