Subject: CGAL users discussion list
List archive
- From: Marco Attene <>
- To:
- Cc: Qianqian Fang <>
- Subject: Re: [cgal-discuss] Re: failed to read an OFF file
- Date: Tue, 16 Sep 2008 10:00:59 +0200
Dear Qianqian,
you may try to load your non-manifold OFF file in ReMESH (http://remesh.sourceforge.net). It should automatically fix the topology while loading, then you just have to save it back and you are done.
Hope it helps.
best,
marco
Pierre Alliez ha scritto:
dear Qianqian,
Apparently Matlab's marching cubes algorithm does not provide guarantees about manifold-ness of the output mesh. I do not really know what wrong in your mesh but it can be anything among:
- one edge sharing more than two faces,
- one vertex having more than one umbrella,
- some duplicate faces,
- etc.
although it is always possible to fix a non-manifold mesh through cutting and/or removing duplicated faces - it is not a well-defined problem - the best is to go with a method with guarantees.
it is possible that CGAL will provide in the next release a 3D mesh generator which allows you to bypass the MC+decimation stage and generates as output a mesh with guaranteed properties.
pierre
--
--
----------------------------------------------------------
Marco Attene
Istituto di Matematica Applicata e Tecnologie Informatiche
Consiglio Nazionale delle Ricerche
Via de Marini 6 - 16149 - Genova - ITALY
Tel. +39(0)106475691
Fax. +39(0)106475660
----------------------------------------------------------
- [cgal-discuss] Re: failed to read an OFF file, Qianqian Fang, 09/13/2008
- [cgal-discuss] Re: failed to read an OFF file, Pierre Alliez, 09/16/2008
- Re: [cgal-discuss] Re: failed to read an OFF file, Marco Attene, 09/16/2008
- [cgal-discuss] Re: failed to read an OFF file, Pierre Alliez, 09/16/2008
Archive powered by MHonArc 2.6.16.