Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] generated .off file has vertices at locations exceeding the original range

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] generated .off file has vertices at locations exceeding the original range


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] generated .off file has vertices at locations exceeding the original range
  • Date: Tue, 8 Sep 2020 07:00:11 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:8fIsPBE/X+wt7e5KrEmjDJ1GYnF86YWxBRYc798ds5kLTJ76psi7bnLW6fgltlLVR4KTs6sC17OI9fm6BSdQuN6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vLRi6txjdutcZjIdtKas91wbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrRy8uRJ/zY7aboKbOvVwcazSf88VS2VaU8ZNVCFMGJ+wY5cBAucDO+tTsonzp0EJrRu7HQSgCv7hxSFTiXDsxq06z+UhHh/A3Ac9GdwOt27UrNTyNKcOTOu5yKjGwivEb/NTxzj99JLIcxAhr/6WQb1wbc3RyVMvFg/AgFmbtIvoPyiR1uQKqWib7u1gVf61h24irwF8uTevxsI2hYnIgoIZ0EzL9SJ8wIssI9CzVUF0b8K+HpRKqyGaK5V5QtkkQ2xwtig316ELtYK/cSUIxpopxwPSZv2GfoWV7BzuVfqdLDRkiX55dr+yiBi8/FSgx+HiSsW63lVHoCRKnNTItH0A1Rre4dWJRPt6+0euwzeP1wbL5+FLP080kq/bJIA9wr4qlpsTv17METPqmEXxlq+Xdl8o9fSv6+Tiernmp5mcN5V1ig7kKKgulNa/DOIlOQYNR2iW4fqw2KHn8EHjQ7hHjuc6nrfHvJzHP8gWqa+0DxdL3ok59xqzEjKr38oEkXYdKV9JZg6Lg5XsNlzAOv/0E+uzjlGynDpoxP3JIrjsD5rXIXfZlLrseKtx5kBfxQUpyN1f6ZBZB7MDLf/1R0T/rsbXDgUjPAyx2+vnCMty1ocZWW+XB6+WKqLSsVuR6uMhOemAeZYZuDjyJvUk/fLugng5mVgSfamtw5Qbcmy3HvNjI0mBYHrshMkOEXsSswYgUODnjEeOXD1TanqoQa4w+Cw3BJipAIrCXoythaaO3Ca/Hp1YfGBGDVWMHG/zd4WAXPcMciOSIsh9kjAeULihT5Qs1R6rtADgyrpnKvDY9TEftZLmzNR1/fHclQku9TxoCMSQy32CT25ukWMMXjM5waF/oVdhxVeeyqh4mOdVFcdT5vNMSgc1L4TQz+18C9DoWwLOZM2FSFi8QobuPDcqU9hkw8MSe10vXJK5nxXb1myrBaUUnvqFHtsv46fE1j/wIch6jH3J3a1kg1g9SdZULj6bgLVi/TTeF5Kck1mFj734MuMHzSvV/SGCy3CPtQdWSklrQKDdVDceYEXR6t/270eHQ761Aqk8KVh9zpuJJaJOL9Holl5bX+zLOdLEYmv3lX3jKwyPw+bGV4fgcn4B3SjbQGwDiQEU4T7GGgU5Ayq9uXPwBTdyEkj+IgmkpfJ6r2m6SVNyygWiYEho1r7z8RkQ06/PA8gP164J7X9y4w5/G0ywioqPVoiw4jF5daAZWusTpVdK0WWD6l54N52kar943xsQL1oxsETp2BF6TI5HlJpy9SJ4/E9JMaudlWh5WXad1JH0NKfQLzCrrh+qYq/SnFrZ1YTPo/td2LEDs1zm+TqROA866Xw+iota1nKd4tPBCw9ACZ8=

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




Archive powered by MHonArc 2.6.19+.

Top of Page