Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] generated .off file has vertices at locations exceeding the original range
Chronological Thread
- From: sindhu r <>
- To:
- Subject: Re: [cgal-discuss] generated .off file has vertices at locations exceeding the original range
- Date: Tue, 8 Sep 2020 01:41:16 -0400
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:PtsCwB0nfkofzyGBsmDT+DRfVm0co7zxezQtwd8ZsesWL/zxwZ3uMQTl6Ol3ixeRBMOHsqwC0rCK+PC5EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCe8bL9oMRm6swrcusYVjId/N6081gbHrnxUdupM2GhmP0iTnxHy5sex+J5s7SFdsO8/+sBDTKv3Yb02QaRXAzo6PW814tbrtQTYQguU+nQcSGQWnQFWDAXD8Rr3Q43+sir+tup6xSmaIcj7Rq06VDi+86tmTgLjhSEaPDA77W7XkNR9g61VoB2jpxJxzY3abpyLOvViZa7SZ88WSHBbU8pNSyBMAIWxZJYPAeobOuZYqpHwp0APrRu4GAasBP7vwSJShnTr2qA6yOUhEQfc0AM8Bd0OqnDUo8vpNKcVV+C416bIzTDZYPNX3Tfx8pTHchckofyVW797bMXex1U1GQzfklWQtZLqPymT1ukVrmSW7/ZsWPyuhmI5rwx/ojeiy9swh4TLmo4YxV7J+ThlzYs2OdC0VE51bcC4HZZUsyyXKoV7T8c/T2xnpCo31LsLsoO1cigNzZQo3R/fa/qffoiH/B3jU+ORLilkhHJ/eLO/iQy9/lS8yu37TMm10ExGoTZCktnJrnwN1hrT6tKGSvRn5Euh1yyP2gbO4e9HOUA5jbTXJ4Ilz7IqlZcesV7PEjL3lUj3lqOaa0cp9vau5u/6eLvpvIWcOJVxigzmMqQhhMi/AeMgPwgLRWeb+OC82KTi/U39XblGl/M2nrTbvZzEP8gbqam5Awha0oYn9RmzFSup0NMdnXUfLVJFfgyIj5TxNl3QPPz1Ce2zjlesnTtx2vzLP7zsDo/QInXBjrvtZbN95FRdyAo3w9Bf/ZVUCrQZLfLoW0/xssbUAQMjPAyux+boFsl91oQYWW+UDa+ZNbndsV6M5u41P+aMY4oVtC7nK/c5//7ukWM5mVgFcKa10psYcnS4Eu17LEWYenrjnsoBEXwRvgclV+zriFiCUSZJaHqoXqI84Cs7CIO8AovZSICtmu/J4SGgA5cDZnxaEkveVjDzZoCcUrENbjiTK4lviHsfRL25Qsgg0x+p8wT1wr4iIuvP8TADrsHe0sNo7c3PkBVn9SBoF9/PlCaWXmRslyUJQSU31eZxuwtm21Kb2O95hfJfUtdc7vcMXgYhPoPH1L9HDcvvUD7MbsvcSEq6Ws70RnYqX9cpypkPZVx8EpOslFfYzi+yCvgUkbKMQ5c7+6aZ03nqLNtm0CX60/wqgFAiB8dOLma7nbVX9g7JBoePnV/KubytcPEH3SjB9HrL1yLap0BeFgV5S6HIQXcZTkTTpNX9oEjFSun9WvwcLgJdxJvaeeNxYdrzgAAeHaqxCJHle2u03lyIK1OIy7eLNtS4fmwc2GDcDBFBnVlMpzCJMg8xAirnqGXbXmQ3RADfJnj0+Ow7k0uVC0o9zgWEdUpkjuPn9RschPjaQPQWjOtd5HUR7g5sFVP45Or4TsKarlM4LqpZaNI5plxA0DCBug==
Hi Sebastien,
Thanks for the reply and the link. I was under the impression that I was following one of the suggested pipelines in the manual for my overall task (read point cloud as xyz, compute and orient normals as xyz, perform poisson reconstruction into .off, transform into mesh, use with surface mesh shortest path package).
You're right, I am providing a grid of points as the simplest test case of a point cloud to see where I'm going wrong. I am assuming that when that surface is reconstructed, it should look like a 6x6 grid. My confusion is that the surface does not look like a grid at all- even before I remove isolated vertices it looks like a dagger and some vertices have coordinates that exceed the range specified in my point cloud. I am unsure of where I'm making a mistake.
Anyway, thanks for your help, I'm probably making a silly mistake somewhere.
Sindhu R
On Tue, Sep 8, 2020, 1:00 AM "Sebastien Loriot (GeometryFactory)" <> wrote:
Your input point cloud is basically a grid of points in a plane.
I don't know what you expect as output but poisson reconstruction
algorithm is probably not the right tool for that task (Advancing front
seems more appropriate to me).
You should read the new tutorial written by Simon Giraudot about
reconstruction available here:
https://cgal.geometryfactory.com/CGAL/doc/master/Manual/tuto_reconstruction.html
Best regards,
Sebastien.
On 9/7/20 8:28 PM, sindhu r ( via cgal-discuss
Mailing List) wrote:
> Hello,
> I am trying to do the following:
>
> 1. define a set of 3d coordinates describing a surface
> 2. compute and orient normals
> 3. generate a polyhedral mesh and save it to a .off file for further use.
>
> What I have done so far: I have accomplished all 3, however my
> polyhedral mesh and my .off file seem incorrect.
>
> My .off file (attached) was generated using the points and normals from
> a .xyz file (also attached). The xyz file represents points that span
> the x-y plane 0 <= (x,y) <= 6, and 0 <= rand(z) <= 0.2. It does not have
> any holes or islands; it looks like a blanket. My final test case will
> involve holes and/or islands, but for the moment even this simple
> example shows something strange about the .off file that I generate
> using the Poisson reconstruction method.
>
> While the .xyz file contains points respecting the 0 <= (x,y) <= 6, and
> 0 <= rand(z) <= 0.2 condition, my .off file seems (lines 4, 7, 8 etc..)
> to have vertices with x,y,z locations that are way off my points
> specified in the .xyz file. I think I'm using the Poisson reconstruction
> incorrectly (minimal working code attached). The image of the polyhedral
> mesh (attached) does not remotely resemble what I hoped for :(.
>
> I'm sorry if it is a basic question, and I would be grateful for any
> guidance. Thank you!
>
> Regards,
> Sindhu R
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] generated .off file has vertices at locations exceeding the original range, sindhu r, 09/07/2020
- Re: [cgal-discuss] generated .off file has vertices at locations exceeding the original range, Sebastien Loriot (GeometryFactory), 09/08/2020
- Re: [cgal-discuss] generated .off file has vertices at locations exceeding the original range, sindhu r, 09/08/2020
- Re: [cgal-discuss] generated .off file has vertices at locations exceeding the original range, Andreas Fabri, 09/08/2020
- Re: [cgal-discuss] generated .off file has vertices at locations exceeding the original range, sindhu r, 09/08/2020
- Re: [cgal-discuss] generated .off file has vertices at locations exceeding the original range, Sebastien Loriot (GeometryFactory), 09/08/2020
Archive powered by MHonArc 2.6.19+.