Subject: CGAL users discussion list
List archive
- From: jccosta <>
- To:
- Subject: [cgal-discuss] Bug in Mesh Decimation?
- Date: Fri, 3 Jan 2014 15:17:48 -0800 (PST)
Hi,
I am trying to use the CGAL decimation algorithms to simplify some meshes.
After I tested the algorithms on some meshes I've got, I am getting some
really weird results (new vertexes are being placed in bad positions)
besides the boundary edges not being preserved even though they have been
included in a constraint map.
I am not used to use CGAL, so maybe I am doing some kind of simple mistake.
In order to allow you guys to be able to analyze and test the results that
I've got, I am including the source code for a simple application and the
original mesh to be decimated.
The code was compiled in MacOSX and Linux (there are a Makefile included),
but it should be easy to port for Windows. Please, don't forget to adapt the
Makefile for your system environment.
After compiled, it can be used as: ./decimate test_mesh2.off
test_decimated2.off
Before decimation:
<http://cgal-discuss.949826.n4.nabble.com/file/n4658610/Screen_Shot_2014-01-03_at_6.14.19_PM.png>
Aftter decimation:
<http://cgal-discuss.949826.n4.nabble.com/file/n4658610/Screen_Shot_2014-01-03_at_6.14.06_PM.png>
Thanks!
Source: MeshDecimation.tar.gz
<http://cgal-discuss.949826.n4.nabble.com/file/n4658610/MeshDecimation.tar.gz>
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Bug-in-Mesh-Decimation-tp4658610.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Bug in Mesh Decimation?, jccosta, 01/04/2014
- Re: [cgal-discuss] Bug in Mesh Decimation?, Sebastien Loriot (GeometryFactory), 01/07/2014
- Re: [cgal-discuss] Bug in Mesh Decimation?, jccosta, 01/07/2014
- Re: [cgal-discuss] Bug in Mesh Decimation?, jccosta, 01/15/2014
- Re: [cgal-discuss] Bug in Mesh Decimation?, Sebastien Loriot (GeometryFactory), 01/15/2014
- Re: [cgal-discuss] Bug in Mesh Decimation?, Sebastien Loriot (GeometryFactory), 01/29/2014
- Re: [cgal-discuss] Bug in Mesh Decimation?, jccosta, 01/15/2014
- Re: [cgal-discuss] Bug in Mesh Decimation?, jccosta, 01/07/2014
- Re: [cgal-discuss] Bug in Mesh Decimation?, Sebastien Loriot (GeometryFactory), 01/07/2014
Archive powered by MHonArc 2.6.18.