Skip to content

chulini/VoxelMeshGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voxel Mesh Generator

Unity3D C# project that generates a voxel 3D mesh using the greedy mesh technique.

Uses a color palette from a small texture and load/save the layers as png image on the persistance data path.

Example in gif...

About Greedy Mesh Algorithm

Greedy mesh algorithm is a technique used to generate voxel meshes in run time optimizing the amount of polygons quick as possible. This algorithm is essential for terrain generation in voxelized games like Minecraft.

A wireframe view of the mesh generated would be this:

Vertices

Here is an example of voxel mesh techniques made by @mikolalysenko in Javascript/webGL:

http://mikolalysenko.github.io/MinecraftMeshes/index.html

A complete description of the algorithm can be found here:

https://0fps.net/2012/06/30/meshing-in-a-minecraft-game/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages