-
Notifications
You must be signed in to change notification settings - Fork 7
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
Is the algorithm working? #4
Comments
It's been a long time since I worked on this. I think the warning that you're seeing came from these lines: When incrementally adding a new point, old faces that could be "illuminated" by the new point are removed. New faces are added between the remaining edges and the new point. Consider a 3D pyramid shape with a new point above it, all four triangular faces are illuminated and removed. Now you're left with a square base. Four new faces would then be added between each edge of the square base and the new point. Going back to your question: the assumption is, we must be adding new faces right next to an existing face. And the internal bookkeeping logic is to link the edges - between new and old face - to their new faces. If somehow an edge is linked to two faces, that means this edge is not associated with any illuminated faces, which violates the assumption. This probably has to do with the hash collision you pointed out in a separate issue. Do you still see this error after modifying the hash function? |
"This probably has to do with the hash collision you pointed out in a separate issue. Do you still see this error after modifying the hash function?" Indeed, yes. |
I have some trouble with "warning: property violated!"
I forked your repo so I could try to improve some things. I used commit milasudril@374f76e
I get an error when trying to compute the convex hull of the attached point cloud.
mesh.obj.gz
The text was updated successfully, but these errors were encountered: