A library for Minecraft-like voxel games.
Geometry can be generated for cubic and non-cubic voxel regions. This means that the library can be used to, for instance, generate meshes for inventory items using their textures.
The term "voxel" may give the impression that this library is suited only for worlds that consist entirely of 1x1 cubes. But in fact, this library supports worlds with arbitrary1 geometry in each voxel. This makes it suitable for Minecraft worlds, where not all blocks are simple 1x1 cubes.
So, when using this library and reading its documentation, you should consider the definition of "voxel" to be a cubic location in a 3-dimensional blocky world.
Minecraft-style ambient occlusion.
TODO
TODO
Footnotes
-
Voxels can't have truly arbitrary geometry; the geometry must consist only of quads (i.e., no arbitrary triangle meshes). ↩