Subject: CGAL users discussion list
List archive
- From: RolandDeschain <>
- To:
- Subject: [cgal-discuss] CGAL loading 3d objects ( .obj) and overflow error
- Date: Tue, 16 Feb 2016 08:13:56 -0800 (PST)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
- Ironport-phdr: 9a23:Dx3hRxQnjaOPQZma1ZRCPjvKUdpsv+yvbD5Q0YIujvd0So/mwa64YhSN2/xhgRfzUJnB7Loc0qyN4/+mBTdLscjJmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4bt74BpTVx5zukbvipNuPOE4Y2nKUWvBbElaflU3prM4YgI9veO4a6yDihT92QdlQ3n5iPlmJnhzxtY+a9Z9n9DlM6bp6r5YTGZPTJPppCOUARHR9azh0t4XXskzIQgKLo3cdSW4LiQFgAg7f7Ri8UI2inDH9s79H3y2TO8HaQKs/WT2j6e8/QRHolSodKzci60nKjMV0yq9XvVSqoEoskMbvfIiJOa8nLevmdtQASD8aBp5c
Hi !
i made a code using the cgal to load 3d objects from .obj files and
generated meshes from this files. Everything seems to work well, for example
using blender i make a cubic mesh, save it in a .obj file and load it
sucessfully with my program, even more complex figures like the blender pet
( suzanne ) but the problems is that seems to be a limit in the size or
sometring like that, because when i try with more complex objects ( with
like 2000 faces or something like that ) the program crashes with the next
error
Expr: !r_tr_.is_infinite(*cell_it)
File: /home/afhuertass/include/CGAL/Mesh_3/Refine_cells_3.h
Line: 867
Aborted
something even weirder is that i build the cgal in my pc and in a small
server used by the research group in my college ( i'm a physics student )
and there are objects that the program can load in my pc but not in the
server ( the processor in the server is better )
the code goes like :
Mesh_domain domain(p);
std::cout << "#wtf?" << std::endl;
Mesh_criteria criteria(facet_angle=25, facet_size=0.15,
facet_distance=0.008,cell_radius_edge_ratio=3);
std::cout << "#wtf 2 ? mesh_criteria created" << std::endl;
this->mesh = CGAL::make_mesh_3<C3t3>( domain , criteria , no_perturb(),
no_exude()) ;
std::cout << "#wtf? 3 mesh created" << std::endl;
p is a polyhedron. the code run well until the second wtf , then crashes
with the mentioned error....
so.... any idea what is happening? and how could i fix it?
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CGAL-loading-3d-objects-obj-and-overflow-error-tp4661606.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] CGAL loading 3d objects ( .obj) and overflow error, RolandDeschain, 02/16/2016
Archive powered by MHonArc 2.6.18.