computed-axial-lithography / VAMToolbox

Other
28 stars 11 forks source link

[bug-fix] OpenGL voxelizer only voxelize STL mesh in positive z #18

Open alvinccli opened 12 months ago

alvinccli commented 12 months ago

Thanks @jttoombs for the heads-up. The current OpenGL voxelizer reads the STL mesh and only voxelize the part of the mesh with positive z coordinate. This post is to warn user of this limitation and track the progress of our fix.

Quick fix could be first translating the mesh with trimesh to all positive z before voxelization. Eventual fix, as @jttoombs pointed out, could be using virtual coordinate in OpenGL.