It is currently Sat Aug 22, 2020 2:02 pm


All times are UTC




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Save Voxel Data to Disk
PostPosted: Tue Mar 29, 2011 4:01 pm 
Developer
User avatar

Joined: Sun May 11, 2008 4:29 pm
Posts: 198
Location: UK
GM_Riscvul wrote:
It also seems the possibility of using Tokyo Cabinet is slim to none. It is very linux dependent, and I can't figure out how to get around that fact. No one has developed a port to Windows either.

On the Tokyo Cabinet site they say:
Tokyo Cabinet wrote:
BTW, do you know Kyoto Cabinet? Actually, it is more powerful and convenient library than Tokyo Cabinet. At this distance of time, Kyoto Cabinet surpasses Tokyo Cabinet in every aspects. I strongly recommend you to use Kyoto Cabinet.

I know very little about the products themselves but it seems that Kyoto Cabinet would be a better bet anyway unless they are different products in a way I don't understand. It's made by the same people. Furthermore Kyoto Cabinet seems to have Windows support as well as pre-compiled binary packages.

_________________
Matt Williams
Linux/CMake guy


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Save Voxel Data to Disk
PostPosted: Tue Mar 29, 2011 5:21 pm 

Joined: Sat Sep 18, 2010 9:45 pm
Posts: 189
Oh that's cool, I didn't realize Kyoto cabinent had a windows binary. I guess I will be using that instead of the scalingweb library.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Save Voxel Data to Disk
PostPosted: Thu Mar 31, 2011 6:02 pm 
User avatar

Joined: Tue Feb 22, 2011 8:04 am
Posts: 101
The problem with Kyoto cabinet is that they require you to purchase a license if you do anything commercial. I may/may not want to sell my final product. Even though that is a long ways away I would like to avoid license restrictions.

After doing some research I found the Boost library (included with Ogre) has serialization libraries that can save and load stl data structures. I am thinking about using a few hash tables to store world data. the key will be a hexadecimal string representing the location. Hash tables should be very efficient.

However this B+Tree looks very promising. I will have to look into it.

_________________
--Real Programmers use a magnetized needle and a steady hand.
--xkcd--


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 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