Skip to content

ramones156/rust-marching-cubes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bevy Marching Cubes

see this for reference. the goal is to make terraforming easier by implementing a 3D Contouring algorithm, as opposed to height maps.

img.png

the algorithm should compare 8 points in a cube to determine which are ground and which are air points. airpoints should be above surface, whereas ground points should be below surface.

dots.png

polygons are then drawn between air and ground lines, since between air and ground is surface.

triangles.png

The end result is visualized in Bevy.

About

Marching Cubes Algorithm in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages