Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brianasu/unity-voxelizer
Utility library to voxelize meshes in Unity
https://github.com/brianasu/unity-voxelizer
Last synced: about 2 months ago
JSON representation
Utility library to voxelize meshes in Unity
- Host: GitHub
- URL: https://github.com/brianasu/unity-voxelizer
- Owner: brianasu
- Created: 2015-12-08T11:02:37.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-08T11:39:21.000Z (about 9 years ago)
- Last Synced: 2024-08-03T19:08:48.093Z (5 months ago)
- Language: C#
- Size: 452 KB
- Stars: 58
- Watchers: 8
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-unity-open-source-on-github - unity-voxelizer - Utility library to voxelize meshes (Voxel)
README
# unity-voxelizer
Utility library to voxelize meshes in Unity.**Usage**
```c#
//Create a new instance
var vxl = new Voxeliser(bounds, xGridDimensions, yGridDimensions, zGridDimensions);//Pass in a transform with mesh renderers under it
vxl.Voxelize(rootTransform);//This will return a 3D bool array that contains the voxel data. solid == true empty == false
var data = vxl.VoxelMap;
```