Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Holes on the output of the surface mesher

Subject: CGAL users discussion list

List archive

[cgal-discuss] Holes on the output of the surface mesher


Chronological Thread 
  • From: lien lee <>
  • To:
  • Subject: [cgal-discuss] Holes on the output of the surface mesher
  • Date: Wed, 7 Oct 2009 10:21:35 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=bNEDreyDPrp/VJGhf4T5GHdT82pqi/hrL3x0v5ZYRuLSjU/g6W+cOBhtmeLf3JpDlr GnmsWwg0p8cAp7GYo+FgEPNM0F4fFLK73Yz2aSyNQtmN8sy0Jiem/yPBVBxYHM8HEWRD S0eygGhmbbv9/eJPKmsjoHsdiJSDyWuDLMr2A=

Hi,

I am a newbie of CGAL, and I tried CGAL 3.5 release these days.  WinXP on 32bit machine; MSVC2008.
 
Before I installed CGAL 3.5 with the CGAL-3.5-Setup.exe,  I installed:
boost 1.39.0,
cmake-2.6.4-win32-x86.exe,
LEDA-6.2-free-win32-msc9-std-
multithread.exe,
qt-sdk-win-opensource-2009.04.exe,
libQGLViewer-installer.exe,

then I stated up the CGAL-3.5-Setup.exe with those precompiled GMP, MPFR and taucs libs included.
 
I made the VC projects with command “cmake-gui” following the installation guide.  After all red entries being removed, the IDE targets were generated with variables of “WITH_examples”, “WITH_demo”, “WITH_GMP” checked (ON).  Then, I open the generated “CGAL.sln” and compile it.  Four libs were generated successfully except CGAL_Qt3 and CGAL_Qt4.  I just leave the two CGAL_Qt libs aside, since I am just interested with the surface mesher example.

I then run the example with the “mesh_a_3d_gray_image.cpp” without any modification made to the original code. The output “out.off” is at attached.  After removing the third empty line in the off file, the mesh is visualized as attached “out_grayimage.jpg”.  As can be seen, there are a lot of holes on the mesh (I don't think they are caused by back face culling since there is no triangle at the holws if I show the mesh in the mode of wireframe).

I tried “mesh_an_implicit_function.cpp” again.  From “mesh_a_3d_gray_image.cpp”, I copied the code needed to output the mesh to off file.  The problem remains, as seen in attached “out_sphere.jpg”.
 
Actually, I tried with CGAL-3.4-Setup.exe today, and I got the same results.  The meshes look ugly with many holes, which is quite different with that in the manual.
 
I queried the FAQ and achieve, and I can’t find similar threads.  But, I learned that some ones DO have successful experience of using the surface mesher.

Best,


--- Hongbin Zhu

Attachment: out_grayimage.jpg
Description: JPEG image

Attachment: out_sphere.jpg
Description: JPEG image

Attachment: out.zip
Description: Zip archive




Archive powered by MHonArc 2.6.16.

Top of Page