Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikolalysenko/ao-mesher
Voxel mesher with ambient occlusion
https://github.com/mikolalysenko/ao-mesher
Last synced: about 2 months ago
JSON representation
Voxel mesher with ambient occlusion
- Host: GitHub
- URL: https://github.com/mikolalysenko/ao-mesher
- Owner: mikolalysenko
- License: mit
- Created: 2013-06-30T22:10:21.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-05T22:38:32.000Z (over 10 years ago)
- Last Synced: 2024-10-19T00:19:23.918Z (2 months ago)
- Language: JavaScript
- Homepage: http://mikolalysenko.github.io/ao-shader/index.html
- Size: 248 KB
- Stars: 40
- Watchers: 8
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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