Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Surface reconstruction without normals

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Surface reconstruction without normals


Chronological Thread 
  • From: Charlie Kehoe <>
  • To:
  • Subject: Re: [cgal-discuss] Surface reconstruction without normals
  • Date: Wed, 15 Feb 2012 20:26:31 -0800


On Wed, Feb 15, 2012 at 7:54 PM, Alex Tsui <> wrote:

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?
  

Sure. The colors represent estimates of an energy distribution across the surface. I was expecting to end up with a triangle mesh connecting all the points, so I would just assign each color to the right vertex and let the renderer take care of interpolation across the triangle faces. Getting the color right at each point isn't that important - I just need the right trend on the surface.

If the output points are different, I guess I could just assign colors for them based on their nearest neighbors. Does CGAL provide a better way to handle this?




Archive powered by MHonArc 2.6.16.

Top of Page