Skip to content

mariogeiger/obj2voxel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

obj2voxel

Convert .obj to voxels

Install

  1. install rust
  2. cargo install --git https://github.com/mariogeiger/obj2voxel

Usage

generate a 64x64x64 voxel grid and save it into numpy format

obj2voxel --size 64 diamond.obj output.npy

generate voxel grid and visualize it requires to compile with cargo install --features "viewer"

obj2voxel --size 16 diamond.obj --view

Build from source

cargo build --features viewer
cargo run --features viewer -- --size 16 diamond.obj --view

About

Convert .obj to voxels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages