guillaumechereau / goxel

Goxel: Free and Open Source 3D Voxel Editor
GNU General Public License v3.0
2.84k stars 226 forks source link

Obj import sometimes earase a line of cubes #322

Open btcaboli opened 1 year ago

btcaboli commented 1 year ago

I just use resolution of 0.01 to import a .obj and when I import ( why it is too slow Blender can convert its models to voxels very fast ) ( it takes about more than 4 minutes while Blender can do it in less than 30 seconds ) some lines ( for example all cubes those are in x = 4 are removed ) of the model are removed. I mean my model was closed ( a close shape ) but when I import it and Goxel just remove some lines of that and now it is an open shape.

guillaumechereau commented 1 year ago

I use an external lib for the obj to voxel conversion: https://github.com/karimnaaji/voxelizer I didn't spend much time checking the alternatives, or maybe there are some options that can make this faster? I'll flag it as 'help wanted'. If anybody has done some comparisons of the various libraries I'll be interested to know what are the plus and cons.

tonydomnickriver commented 2 months ago

this could help https://github.com/Eisenwave/obj2voxel