Subject: CGAL users discussion list
List archive
- From: Alex Tsui <>
- To:
- Subject: Re: [cgal-discuss] Surface reconstruction without normals
- Date: Wed, 15 Feb 2012 19:54:16 -0800
On Wed, Feb 15, 2012 at 6:41 PM, ckehoe <> wrote:
The point set processing package has a way to estimate normals, see also the example here:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Point_set_processing_3/Chapter_main.html#Section_57.7
The CGAL polyhedron data structure has a list of vertices, and I think by default, the vertices only save point information. You can extend the vertex to save color data, eg.
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Point_set_processing_3/Chapter_main.html#Section_57.7
I haven't used point set reconstruction much, but I noticed that the input points are, in general, different from the points in your output polyhedron. I don't know if you will be able to start with colored points in a point cloud and have it carry through the surface reconstruction -- I think all CGAL does is use the point cloud to compute a function for the surface. Can you give more detail about what you need to do with colors?
--Alex
Hello,
I've got a question about surface reconstruction with CGAL. I downloaded and
ran the reconstruction demo, but I'm not sure how to modify it for my
situation. There are two differences I need to deal with:
1. I don't have normals for my points. My surface is pretty smooth, so
normal estimation should work, but I couldn't find the documentation that
actually described how to do this. Can anyone point me in the right
direction?
The point set processing package has a way to estimate normals, see also the example here:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Point_set_processing_3/Chapter_main.html#Section_57.7
2. I have colors that need to be assigned to each point, so I need to track
the points in some way as they go through the algorithm. I don't entirely
understand the data structures CGAL uses, since I don't have a strong
computer graphics background. How can I deal with this situation?
The CGAL polyhedron data structure has a list of vertices, and I think by default, the vertices only save point information. You can extend the vertex to save color data, eg.
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Point_set_processing_3/Chapter_main.html#Section_57.7
I haven't used point set reconstruction much, but I noticed that the input points are, in general, different from the points in your output polyhedron. I don't know if you will be able to start with colored points in a point cloud and have it carry through the surface reconstruction -- I think all CGAL does is use the point cloud to compute a function for the surface. Can you give more detail about what you need to do with colors?
Thanks in advance for any help you can give.
- Charlie
--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/Surface-reconstruction-without-normals-tp4392786p4392786.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
--Alex
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss] Surface reconstruction without normals, ckehoe, 02/16/2012
- Re: [cgal-discuss] Surface reconstruction without normals, Alex Tsui, 02/16/2012
- Re: [cgal-discuss] Surface reconstruction without normals, Charlie Kehoe, 02/16/2012
- Re: [cgal-discuss] Surface reconstruction without normals, Sebastien Loriot (GeometryFactory), 02/16/2012
- Re: [cgal-discuss] Surface reconstruction without normals, Charlie Kehoe, 02/16/2012
- Re: [cgal-discuss] Surface reconstruction without normals, Laurent Saboret, 02/17/2012
- [cgal-discuss] Re: Surface reconstruction without normals, ckehoe, 02/20/2012
- Re: [cgal-discuss] Re: Surface reconstruction without normals, Laurent Saboret, 02/20/2012
- [cgal-discuss] Re: Surface reconstruction without normals, ckehoe, 02/20/2012
- Re: [cgal-discuss] Surface reconstruction without normals, Laurent Saboret, 02/17/2012
- Re: [cgal-discuss] Surface reconstruction without normals, Charlie Kehoe, 02/16/2012
- Re: [cgal-discuss] Surface reconstruction without normals, Alex Tsui, 02/16/2012
Archive powered by MHonArc 2.6.16.