TriMesh2MT reads a polygon mesh from file and writes a
Multi-Triangulation (MT) representing the same shape. The resulting MT may be used to significantly improve the rendering performances when inspecting a complex 3d scene, or simply to produce simplified versions of the shape in realtime.
The program is written in C++ and makes use of the JMeshLib API (
http://jmeshlib.sourceforge.net) to represent the polygon mesh internally.
The construction of the MT is based on the
MT Library.
TriMesh2MT understands the following file formats:
OFF
PLY
STL
VER-TRI (proprietary format used at IMATI-GE / CNR)
and partially:
VRML 1.0
VRML 97
OBJ
IV 2.1
If the input mesh is not manifold and/or not oriented, the loader automatically calls proper procedures to cut and orient the mesh prior to conversion. Non-triangular faces are automatically triangulated prior to conversion. Boundary edges that coincide exactly are stitched together. The MT is obtained by organizing surface patches produced by a mesh simplification algorithm in the context of a DAG, which provides a hierarchy of local Levels-of-Detail.
The simplification approach used in TriMesh2MT is based on a greedy algorithm which performs iterative edge-contractions prioritized on a Quadric Error Metric associated to each vertex of the mesh.
TriMesh2MT is the result of a research collaboration between
IMATI-GE / CNR and
DISI - University of Genoa (Italy). The collaboration was financed by the ongoing Network of Excellence AIM@SHAPE (
http://www.aimatshape.net).
The package provides the source code and pre-compiled versions of TriMesh2MT for Linux_i386,
MS Win32 and MAC (works both with PPC and Intel processors).
System Requirements
You need to have a 32 bit PC running either:
- ELF Linux with standard development tools (g++ with makedepend)
- Windows OS with MSVC 8.0 (Visual C++ 2005 with Platform SDK)
- Mac OS X with standard development tools (g++ with makedepend)
If you just want to use the pre-compiled binaries you don't need all that development stuff.
On Win32 machines, however, you may need to download and install
Microsoft Visual C++ 2005 Redistributable Package (x86).
Download
Click
here to get the latest version
of TriMesh2MT from sourceforge.net.
Copyright
TriMesh2MT is
Copyright(C) 2006: IMATI-GE / CNR and DISI
All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License (
http://www.gnu.org/licenses/gpl.txt)
for more details.