Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Voxel chunk management

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 SteveyG   Members   

390
Like
0Likes
Like

Posted 18 April 2013 - 01:39 AM

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...





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.