-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A bug in solid voxelization #64
Comments
If I read this correctly, you're trying a non-cubical voxel grid? There is still no official support for this - ymmv. Have you tried with the developer branch? Thanks for report, though. |
I find this bug too。 I think the boundary pnt should be reserved., then reset the bounary bit? |
您好,您的邮件我已收到并会尽快回复,祝好
|
Can you try again with the latest release version? |
And this only happens in solid voxelisation? |
No, with hull-voxelization too |
I have somehow similar behavior in my project. I am trying to voxelize a simple 3D blob read as a surface_mesh object in CGAL. I made the appropriate conversions (so I don't use Trimesh, because I have to use CGAL). All meshes are read and solid voxelized correctly but this one. I m trying to save it as a pointcloud file (the ultimate goal is for me to check if a point is inside the poly or not) Did anyone face similar behavior anywhere? Me using CGAL is working perfectly as intended for other files (cube, iso-sphere, prism,...) File: |
您好,您的邮件我已收到并会尽快回复,祝好
|
Yeah, I'm writing this down as some numerical errors. I'm currently in the process of rewriting the project to remove the dependency on GLM, maybe this resolves these numerical quirks, since it is not really meant for usage with CUDA. Thank you all for the detailed reports and test models. As soon as I got the rewrite nailed won, I'll have a new look at this. If you're compiling yourself, maybe disable fastmath? |
@Forceflow I will definitely try that. If this is a collaboration-based library don't hesitate to create the task and maybe we would do the changes in our forks and PR. Thanks again for the clarifications. |
You can test with the dev branch if you want. |
I try to input 32/50/64/100 as voxel grid length in cpu mode.
32/64/100 work very well, but 50 has a bug.
I have uploaded my source obj file and output .obj file (modify .txt to .obj).
sphere.txt
sphere.obj_50_voxels.txt
The text was updated successfully, but these errors were encountered: