Closed A6248384 closed 3 years ago
are you able to run binvox byitself?
I run ./binvox and this is the result.
--- [binvox] mesh voxelizer, version 1.26, build #644 on 2017/10/22 15:19:22 --- written by Patrick Min, 2004-2017
Error: missing model filename
Usage: binvox [-d
Yeah you need to pass a model to it and test. Check binvox webpage for the usage.
I try this command. !./binvox -d 88 -pb quick_start/17872_remesh.obj
--- [binvox] mesh voxelizer, version 1.26, build #644 on 2017/10/22 15:19:22 --- written by Patrick Min, 2004-2017
will use offscreen pbuffer instead of onscreen window loading model file... MeshFileIdentifier::*create_mesh_file(quick_start/17872_remesh.obj) ObjMeshFile::load(quick_start/17872_remesh.obj) 4102 quick_start/17872_remesh.obj 4103 lines read Read 2020 faces, 1040 vertices. Mesh memory use is 2096 KB (2 MB) Mesh::normalize, bounding box: [-0.5, 0, -0.32287, 1] - [0.5, 0.436996, 0.32287, 1] longest length: 1 normalization transform: (1) translate [0.5, -0, 0.32287, 1], (2) scale 1, (3) translate [0, 0, 0] freeglut (./binvox): failed to open display ''
Did you get quick_start/17872_normalized.obj?
Yes, I got quick_start/17872_normalized.obj and quick_start/17872_normalized.mtl
I try python quick_start.py again and I got this. loading all networks... joint prediction network loaded. root prediction network loaded. connection prediction network loaded. skinning prediction network loaded. creating data for model ID 17872 gathering topological edges. calculating surface geodesic matrix. surface geodesic calculation: 9.594509601593018 seconds gathering geodesic edges.
--- [binvox] mesh voxelizer, version 1.26, build #644 on 2017/10/22 15:19:22 --- written by Patrick Min, 2004-2017
will use offscreen pbuffer instead of onscreen window
loading model file...
MeshFileIdentifier::*create_mesh_file(quick_start/17872_normalized.obj)
ObjMeshFile::load(quick_start/17872_normalized.obj)
3066 quick_start/17872_normalized.obj
material library: 17872_normalized.mtl
ignoring [usemtl 17872_normalized]
3067 lines read
Read 2020 faces, 1040 vertices.
Mesh memory use is 1836 KB (1 MB)
Mesh::normalize, bounding box: [-0.5, 0, -0.32287, 1] - [0.5, 0.436996, 0.32287, 1]
longest length: 1
normalization transform:
(1) translate [0.5, -0, 0.32287, 1], (2) scale 1, (3) translate [0, 0, 0]
freeglut (./binvox): failed to open display ''
Traceback (most recent call last):
File "quick_start.py", line 440, in
when you try ./binvox -d 88 -pb quick_start/17872_remesh.obj, did you get quick_start/17872_remesh.binvox?
when I try ./binvox -d 88 -pb quick_start/17872_remesh.obj. I didn't get quick_start/17872_remesh.binvox I just got following error.
--- [binvox] mesh voxelizer, version 1.26, build #644 on 2017/10/22 15:19:22 --- written by Patrick Min, 2004-2017
will use offscreen pbuffer instead of onscreen window loading model file... MeshFileIdentifier::*create_mesh_file(quick_start/17872_remesh.obj) ObjMeshFile::load(quick_start/17872_remesh.obj) 4102 quick_start/17872_remesh.obj 4103 lines read Read 2020 faces, 1040 vertices. Mesh memory use is 2096 KB (2 MB) Mesh::normalize, bounding box: [-0.5, 0, -0.32287, 1] - [0.5, 0.436996, 0.32287, 1] longest length: 1 normalization transform: (1) translate [0.5, -0, 0.32287, 1], (2) scale 1, (3) translate [0, 0, 0] freeglut (./binvox): failed to open display ''
It is same issue as in #5 please check that thread. One quick try it to remove -pb
Seems it is not easy to solve. I will update the code to get rid of binvox when I have time asap.
Thank's for your reply. I think it's my setting problem. I use this project on virtual machine and can't display anything.
Thank for this project! I got an error when I run python quick_start.py
loading all networks... joint prediction network loaded. root prediction network loaded. connection prediction network loaded. skinning prediction network loaded. creating data for model ID 17872 gathering topological edges. calculating surface geodesic matrix. surface geodesic calculation: 9.081551790237427 seconds gathering geodesic edges. sh: 1: quick_start/17872_normalized.obj: Permission denied Traceback (most recent call last): File "quick_start.py", line 440, in
data, vox, surface_geodesic, translation_normalize, scale_normalize = create_single_data(mesh_filename)
File "quick_start.py", line 103, in create_single_data
with open(mesh_filaname.replace('_remesh.obj', '_normalized.binvox'), 'rb') as fvox:
FileNotFoundError: [Errno 2] No such file or directory: 'quick_start/17872_normalized.binvox'
Is there any solution?