Thanks to visit codestin.com
Credit goes to github.com

Skip to content

channyHuang/voxel_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

voxel_game

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]

Overview

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数据的生成和网格生成,不考虑内存相关逻辑。

Mesh Generation

Marching Cube

Dual Marching Cube

Transvoxel

Naive Surface Nets

  • every voxel generate less than or equal to one vertex

Dual Contouring

  • need normals before generate surface

Mesh Simplify

Fast-Quadric-Mesh-Simplification

Reference

godot engine (MIT license)

voxel tool (GNU license) godot plugin, using its VoxelBuffer class

naive surface nets

dual contouring

fast noise lite

About

using voxel to editor game terrain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published