| Volumes Of Fun http://www.volumesoffun.com/phpBB3/ |
|
| Save Voxel Data to Disk http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=176 |
Page 3 of 3 |
| Author: | milliams [ Tue Mar 29, 2011 4:01 pm ] |
| Post subject: | Re: Save Voxel Data to Disk |
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. |
|
| Author: | beyzend [ Tue Mar 29, 2011 5:21 pm ] |
| Post subject: | Re: Save Voxel Data to Disk |
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. |
|
| Author: | GM_Riscvul [ Thu Mar 31, 2011 6:02 pm ] |
| Post subject: | Re: Save Voxel Data to Disk |
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. |
|
| Page 3 of 3 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|