Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] The surface mesher works incorrectly

Subject: CGAL users discussion list

List archive

[cgal-discuss] The surface mesher works incorrectly


Chronological Thread 
  • From: lien lee <>
  • To:
  • Subject: [cgal-discuss] The surface mesher works incorrectly
  • Date: Wed, 7 Oct 2009 09:27:12 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=GpoVge/hvTqUKdMJIc+MQDXFTfXP2/GUSybMfCer2MCg1nxbIxcFX6/ALM4rvBBowm Mkexbu9DRpKmg8S5G6TpXf6tvJKWfZhMB0K5diJG+jPYbgtzI0e2LHh+idQpgvpkqgGK rGtdXhD/EhEKHaRnixfRSe1C7nELi414MkvuM=

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.rar
Description: Binary data



  • [cgal-discuss] The surface mesher works incorrectly, lien lee, 10/07/2009

Archive powered by MHonArc 2.6.16.

Top of Page