Volumes Of Fun
http://www.volumesoffun.com/phpBB3/

strategy of loading endless world(like minecraft)
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=510
Page 1 of 1

Author:  crashtua [ Mon May 06, 2013 6:27 pm ]
Post subject:  strategy of loading endless world(like minecraft)

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?

Author:  milliams [ Mon May 06, 2013 6:53 pm ]
Post subject:  Re: strategy of loading endless world(like minecraft)

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.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/