It is currently Sat Aug 22, 2020 4:29 am


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: strategy of loading endless world(like minecraft)
PostPosted: Mon May 06, 2013 6:27 pm 

Joined: Mon May 06, 2013 11:42 am
Posts: 3
What is the best aproach of storaging and loading endless worlds like in minecraft game? I need to store voxels in file(or recieve over network), and some amount of voxels, for example, shpere of chunks(64x64x64 voxels) keep in memory. Is there build in features in PolyVox?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: strategy of loading endless world(like minecraft)
PostPosted: Mon May 06, 2013 6:53 pm 
Developer
User avatar

Joined: Sun May 11, 2008 4:29 pm
Posts: 198
Location: UK
Indeed. We have a volume class called LargeVolume. You can read the API docs for it in our Doxygen pages. The documentation there can do a better job of explaining what needs to be done to use better than I can but the essence of it is that you give it callbacks to be used when retrieving or saving chunks of voxels from an outside source.

_________________
Matt Williams
Linux/CMake guy


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net