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 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 (4.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. Anecdotally, the code compiles with MS Visual Studio .NET or later (not MSVC 6), but I am not able to support this – you're on your own. (However, I will gladly accept patches that fix compilation, and will consider patches that squash warnings.)

Warning: some gcc versions are known to miscompile trimesh2.
Please avoid version 4.1.2, or anything earlier than 4.0.1.

The author of trimesh2 is Szymon Rusinkiewicz.


Download

The packages include source, as well as Linux (32- and 64-bit), Mac, and Windows (MINGW) binaries.


Changes

The most recent version is 2.12

Changes since version 2.11:

Changes since version 2.10:

Changes since version 2.9:

Changes since version 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.