using voxel to edite game terrain
input: sdf value stored by VoxelBuffer
output: .obj mesh file
dependency: commonClass in another project.
[commonClass: [email protected]:channyHuang/commonClass.git]
Using class VoxelBuffer in voxel tool to store data, a plugin of godot engine, but simplify it because this project is mainly about sdf data generation and mesh generation. So this project do NOT consider memory cases.
使用了godot引擎插件voxel tool中的VoxelBuffer类来存储数据,但做了简化。因为本项目主要研究sdf数据的生成和网格生成,不考虑内存相关逻辑。
- every voxel generate less than or equal to one vertex
- need normals before generate surface
Fast-Quadric-Mesh-Simplification
godot engine (MIT license)
voxel tool (GNU license) godot plugin, using its VoxelBuffer class