Skip to content

mikolalysenko/ao-mesher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ao-mesher

A voxel mesher for ndarrays that handles ambient occlusion and transparency.

Install

npm install ao-mesher

require("ao-mesher")(array)

Constructs a mesh for array.

  • array is a 3D ndarray of voxels

Returns A uint8array encoding the mesh, or else null if there were no facets. This is in the same format that ao-shader expects.

Credits

(c) 2013 Mikola Lysenko. MIT License

Releases

No releases published

Packages

No packages published