Links

Content Skeleton

This Page

Previous topic

Mesh Generation

Next topic

MESHPY

MESHLAB

Qt based GUI for mesh viewing/manipulation

Meshpad

iOS source ? (hmm GPL)

The source code of MeshLab for iOS and MeshLab for Android is not available for the general public. We can provide customized version of it, or license the viewing component under a commercial agreement.

Observations

  1. supports VRML/X3D/STL import and export
  2. documentation is sparse

Intro

MeshLab is a advanced mesh processing system, for the automatic and user assisted editing, cleaning, filtering converting and rendering of large unstructured 3D triangular meshes. MeshLab is actively developed by the a small group of people at the Visual Computing Lab at the ISTI - CNR institute, a large group of university students and some great developers from the rest of the world. For the basic mesh processing tasks and for the internal data structures the system relies on the GPL VCG library.

Question : consequences of unstructured ?

  • need to identify surfaces/materials, which correspond to many tris

VCG

The Visualization and Computer Graphics Library (VCG for short) is a open source portable C++ templated library for manipulation, processing and displaying with OpenGL of triangle and tetrahedral meshes.

The library, composed by more than 100k lines of code, is released under the GPL license, and it is the base of most of the software tools of the Visual Computing Lab of the Italian National Research Council Institute ISTI (http://vcg.isti.cnr.it), like metro and MeshLab.

Pre-requisites

Repo

svn checkout svn://svn.code.sf.net/p/meshlab/code/trunk meshlab-code
svn checkout http://svn.code.sf.net/p/meshlab/code/trunk meshlab-code

Download

mv ~/Downloads/MeshLabSrc_AllInc_v132.tar .   ## WARNING : exploding tarball
simon:meshlab blyth$ l
total 94552
drwxr-xr-x@ 7 blyth  wheel       238 22 Aug 13:16 vcglib
drwxr-xr-x@ 3 blyth  wheel       102 22 Aug 13:15 meshlab
-rw-r--r--@ 1 blyth  staff  48404480 22 Aug 13:07 MeshLabSrc_AllInc_v132.tar
-rw-r--r--@ 1 blyth  wheel       150  3 Aug  2012 how_to_compile.txt
simon:meshlab blyth$ pwd
/usr/local/env/graphics/mesh/graphics/meshlab

VRML/X3D

From the source, VRML gets translated into X3D first.

simon:meshlab blyth$ find . -name '*.cpp' -exec grep -H VRML {} \;
./meshlab/src/meshlabplugins/io_base/baseio.cpp:        formatList << Format("VRML File Format"                                                 , tr("WRL"));
./meshlab/src/meshlabplugins/io_x3d/io_x3d.cpp: formatList << Format("X3D File Format - VRML encoding", tr("X3DV"));
./meshlab/src/meshlabplugins/io_x3d/io_x3d.cpp: formatList << Format("VRML 2.0 File Format", tr("WRL"));
./meshlab/src/meshlabplugins/io_x3d/vrml/Parser.cpp:                    case 9: s = coco_string_create(L"\"VRML\" expected"); break;
./meshlab/src/meshlabplugins/io_x3d/vrml/Scanner.cpp:   keywords.set(L"VRML", 9);