trimesh trimesh2 is a C++ library and set of utilities for input, output, and basic manipulation of 3D triangle meshes. The goals of the code are ease of use and efficiency, possibly at the expense of some generality.

Features

The library includes the following:

Bundled together with the library are:

In addition, the following utility programs are included:

The author of trimesh2 is Szymon Rusinkiewicz, and the library is distributed under the GNU General Public License (GPL), version 2. The various libraries distributed with trimesh2 are open source, and are believed to be covered by GPL-compatible licenses. Please see the COPYING file.

The code is written in C++, and is known to compile using a recent (3.x) version of g++ on several Unix-like OSes (Linux x86 and x86-64, Solaris, Mac OSX). Compiling under Windows is possible using Cygwin or Mingw32, as well as MS Visual Studio .NET (but not MSVC 6).
Warning: some gcc versions are known to miscompile trimesh2.
Versions 3.4.x (x >= 3), 4.0.y (y >= 1), and 4.1.z (z != 2) are believed to be OK.

Download

Both of these packages include source, as well as Linux (32- and 64-bit) and Windows binaries.

Changes

The most recent version is 2.8

Changes since version 2.7:

Changes since version 2.6:

Changes since version 2.5:

Changes since version 2.4:

Changes since version 2.3:

Changes since version 2.2:

Changes since version 2.1:

Changes since version 2.0:

Please contact smr at princeton edu if you have any questions about the code.