Crates.io | voxelizer |
lib.rs | voxelizer |
version | 1.0.0 |
source | src |
created_at | 2020-09-17 08:45:51.093568 |
updated_at | 2020-09-17 08:45:51.093568 |
description | A Rust port of karimnaaji's C Voxelizer |
homepage | https://github.com/TheArchitect4855/voxelizer-rs |
repository | https://github.com/TheArchitect4855/voxelizer-rs |
max_upload_size | |
id | 289724 |
size | 45,950 |
A Rust port of karimnaaji's C Voxelizer
This is a Rust port of karimnaaji's mesh voxelizer written in C. It is simple to use and has been carefully ported to Rust to give the most seamless experience possible.
let mesh = Mesh::new(vertices, colours, normals, indices);
let voxelized = mesh.voxelize(voxel_size, precision);
let mesh = Mesh::new(vertices, colours, normals, indices);
let pointcloud = mesh.voxelize_pointcloud(voxel_size, precision);
let mesh = Mesh::new(vertices, colours, normals, indices);
let voxels = mesh.voxelize_texture(width, height, depth);