Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] parameterization of genus-3 mesh

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] parameterization of genus-3 mesh


Chronological Thread 
  • From: "Defeng WANG" <>
  • To: <>
  • Subject: Re: [cgal-discuss] parameterization of genus-3 mesh
  • Date: Thu, 6 Dec 2007 10:45:39 +0800

Dear laurent,

Thank you so much for the detail reply!

Cheers!
Defeng
----- Original Message ----- From: "Laurent Saboret" <>
To:
<>
Sent: Wednesday, December 05, 2007 5:28 PM
Subject: Re: [cgal-discuss] parameterization of genus-3 mesh


Dear Defeng,

To complete my previous email:

Your out.off mesh is fine, except that its genus is 3.

CGAL parameterization package comes with a simple cutting algorithm which is enough for this mesh.
You may run it e.g. via the "polyhedron_ex_parameterization" example:
> ./polyhedron_ex_parameterization out.off mesh.eps
See the output mesh.eps attached to this email.

Note: "polyhedron_ex_parameterization" has various options to test all features of the
parameterization package and write the result as OBJ or EPS files.
Try "./polyhedron_ex_parameterization -h" for usage.

Best regards,
Laurent Saboret


Laurent Saboret wrote:
Dear Defeng,

The error message "FATAL ERROR: Input mesh is not a surface" is printed
when parameterize() fails with the error code ERROR_NO_SURFACE_MESH.
This specific error code is sent when the input mesh does not enforce:
genus = 0, one connected component and at least one border.

The general requirements are given in the documentation:
http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Surface_mesh_parameterization/Chapter_main.html#Section_39.1

The package is restricted to "triangulated surfaces which are
homeomorphic to a disk", i.e. triangulated meshes, 2-manifold, genus =
0, one connected component and at least one border.

Best regards,
Laurent Saboret


Defeng WANG wrote:
Hi, Laurent,

Thanks for you reply.

I have another question about the sample code
"Mesh_cutting_parameterization". When I put in my mesh, I was told
that "FATAL ERROR: Input mesh is not a surface". For the convenience
to find the problem, I attached the mesh I used. What is the requirent
for the input mesh? How to adjust my mesh to be acceptable for the
sample code?

Many thanks!
Defeng
----- Original Message ----- From: "Laurent Saboret"
<>
To:
<>
Sent: Monday, December 03, 2007 9:47 PM
Subject: Re: [cgal-discuss] parameterization of genus-3 mesh


Hi Defeng,

CGAL Surface_mesh_parameterization package
http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Surface_mesh_parameterization/Chapter_main.html

can parameterize genus-1 meshes (topological disks).

This package does not provide any algorithm to transform an arbitrary
mesh into a topological disk, the user being responsible for
generating such a cut graph. Nevertheless, we provide a simple
cutting algorithm for the sake of completeness. See details at
http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Surface_mesh_parameterization/Chapter_main.html#Section_39.5


Best regards,
--
Laurent Saboret
INRIA Sophia-Antipolis


Defeng WANG a écrit :
Hello, CGALers,

Ask one quick question, if I want to parameterize of a genus-3 mesh,
what should I do by using CGAL?

Thanks for any comments.
Best wishes,
Defeng


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss



Archive powered by MHonArc 2.6.16.

Top of Page