问题
i'm planning on building a voxel editor (c++ and opengl) for personal use and i want to re-use the objects i build in later projects. The problem i came along is, i'm not sure whats the best way to save voxel data to files. I googled many sites and came across 'save as octree' and 'save as BSP tree' which one is better in your opinion and why?
Thanks in advance.
回答1:
I would use Field3D, it's used by the biggest and best in the CG industry to store voxel data for fluidics simulations. All open-source of course.
来源:https://stackoverflow.com/questions/9227653/best-way-to-save-data-for-re-use-off-an-voxel-editor