loryhndol / LowpolyBuildings

Implementation of Low-poly mesh generation for building models
24 stars 4 forks source link

CGAL error: precondition violation #6

Open lichangkun2003 opened 1 year ago

lichangkun2003 commented 1 year ago

When running locally, I encountered the following error, which is mainly due to an error in the intersect(A, B) function of PolygonMeshProcessing when operating on a potentially non-standard triangular mesh A. This is because the 3D extruded model constructed with extrude() during the construction of the Visual Hull is not entirely standard, leading to the error.

Extract Visual Hull for carving [Running] [5.00%]:CGAL error: precondition violation! Expression : is_triangle_mesh(tm1) File : E:\CGAL-5.5.2\include\CGAL\Polygon_mesh_processing\internal\Corefinement\intersection_impl.h Line : 1677 Explanation: Refer to the bug-reporting instructions at https://www.cgal.org/bug_report.html

loryhndol commented 1 year ago

I would like to get more information about the error. Could you paste a snapshot of the problematic mesh before or after running extrude()?A wireframe or so is OK.