Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Parameterization of cylindrical surface meshes

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Parameterization of cylindrical surface meshes


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Parameterization of cylindrical surface meshes
  • Date: Fri, 13 Nov 2020 09:52:46 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:8eMfSRVDzyNyLYUEv9Xb+nUQoU/V8LGtZVwlr6E/grcLSJyIuqrYZReEuqdThVPEFb/W9+hDw7KP9fy5BipZu8rK6SpfOLV3FDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3OgV6PPn6FZDPhMqrye+y54fTYwJVjzahfL9+Nhq7oRjTu8UMnIduNKk8xhTUrndWe+ld2H9lK0+Ukxvg/Mm74YRt8z5Xu/Iv9s5AVbv1cqElRrFGDzooLn446tTzuRbMUQWA6H0cUn4LkhVTGAjK8Av6XpbqvSTksOd2xTSXMtf3TbAwXjSi8rtrRRr1gyoJKzI17GfagdF2galGohyuugZ/zpbJbo+LOvpwfqDTc90USmVOXMleSzdMDZmgY4YVFecNIehVoov7qlATrRW+Hw6sBOb3xzJUgH/5wLc63Po7HgHdwQcuH8gBv2/OrNX0KawfVvq6zK/VwjXZcfxZwyz95JLGch87uv6MR7NwfNHeyUYxEAPFi0ufqZD/PzKV2OQCqXSU7/ZnVeK1i28rsR1+oj+qxso1jITCm40axEze+ypj3IY1OcO3SFR9YdO8H5ZduC6UOoR2T88/QWxluik3x7MYtJKmYiUHyJQqyhHbZvGZboWE/w7vWPqSLDpkhX9reL2yihi9/EWvyeDwSs+520tEoCpCl9nDrHEN1xrL58ebRfty5EOh1SyI1wDJ5eFIOUE0lazBK54g2LE8jJQTsV7FEyTrm0v2lLebelgn9+Wr8ejrf7Trq5+GO4J7hAzyKLkil86xD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Xbap3L95SVDWeZvavz9A7vKbDHn5V8Fn5WwFYnsquIlyXZl35mApNyQIQv3zhnyaknWQtz2MZ65GH1SmL+NzMMQIdMzQSFmZvilLhPZKlgdkRQE+yfk4ikx73vUs=

Hello,

It is not surprising that it does not look good for a cylinder.    What happens is the following:

One hole of the cylinder is considered as the outer border, and the other hole is considered
as hole.

What you can do is the define a seam on your cylindrical mesh. This duplicates the vertices
on the seam. 

There is an example  in the User Manual where we use the CGAL::SEam_mesh:

https://doc.cgal.org/latest/Surface_mesh_parameterization/index.html#title18

You combine that with the Square_border_parameterizer with the 4 corners of the
seam mesh.

https://doc.cgal.org/latest/Surface_mesh_parameterization/classCGAL_1_1Surface__mesh__parameterization_1_1Square__border__parameterizer__3.html

If the cylinder is not only topologically a cylinder, but also geometrically,
and if the seam is vertical, and if the image is periodic it should look correct.

Best,

Andreas


On 11/6/2020 6:19 PM, Andrew Cunningham wrote:
I am attempting to parameterize various flat and curved meshes using the various PMP:: parameterize_ algorithms. I note that when trying to parameterize a cylindrical mesh, none of these algorithms produce an acceptable parameterization. In fact, all the algorithms produce highly distorted U-V checkerboards. Obviously this is a difficult problem for any parameterization algorithm. I could unwrap the cylinder and transform to cylindrical coordinates , but I am looking for other ideas.

Thanks
Andrew

--
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