Tinyply

🌍 C++11 ply 3d mesh format importer & exporter
Alternatives To Tinyply
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Meshio1,485308522 days ago212March 11, 2022127mitPython
:spider_web: input/output for many mesh formats
Fbx2gltf1,293352 years ago10September 11, 201987otherC++
A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.
Tinyply447
a month ago14C++
:earth_africa: C++11 ply 3d mesh format importer & exporter
Fold2573313 days ago23August 20, 202129mitCoffeeScript
FOLD file format for origami models, crease patterns, etc.
Happly143
a year ago8mitC++
A C++ header-only parser for the PLY file format. Parse .ply happily!
Mdal126
a month ago59mitRoff
Mesh Data Abstraction Library
3rscan103
a year ago2mitC++
3RScan Toolkit
Assimp75
2 years ago1October 09, 20169otherCOBOL
JVM Open Asset Import Library (Assimp)
Openctm66
3 years ago3zlibC
OpenCTM is a file format, a software library and a tool set for compression of 3D triangle meshes. The geometry is compressed to a fraction of comparable file formats (3DS, STL, COLLADA...), and the format is accessible through a simple, portable API
Obj2png51
3 months ago1mitPython
Python script for converting 3D triangular mesh (obj) to image file (png) with MatPlotLib
Alternatives To Tinyply
Select To Compare


Alternative Project Comparisons
Readme

tinyply 2.3

Release is 2.3.3 License is Unlicense

Platform Build Status
GCC + Clang Build status
VS2019 Build status

A single-header, zero-dependency (except the C++ STL) public domain implementation of the PLY mesh file format. An overview and definition of the file format is available here. This format is often used in the computer vision and graphics communities for its relative simplicity, ability to support arbitrary mesh attributes, and binary modes. Famously, PLY is used to distribute 3D models in the Stanford 3D Scanning Repository, including the bunny.

The library is written in C++11 and requires a recent compiler (GCC 4.8+ / VS2015+ / Clang 2.9+). Tinyply supports exporting and importing PLY files in both binary and ascii formats. Tinyply supports filesizes >= 4gb and can read big-endian binary files (but not write them).

Getting Started

The project comes with a simple example program demonstrating a circular write / read and all of the major API functionality.

In The Wild

Since 2015, tinyply has been used in hundreds of open-source projects including pointcloud tools, raytracers, synthetic data renderers, computational geometry libraries, and more. A few notable projects are highlighted below:

  • libigl, a robust computational geometry library from UoT professors Alec Jacobson and Daniele Panozzo.
  • Maplab from ETH Zrich, a research-oriented visual-inertial mapping framework.
  • glChAoS.P from Michele Morrone, a rendering sandbox for 3D strange attractors.
  • Cilantro, a robust and featureful C++ library for working with pointcloud data.
  • HabitatAI, Facebook's 3D simulator for training AI agents in photorealistic environments.
  • ScanNet, an RGB+D dataset of 2.5 million views across 1500 scans.
  • PlaneRCNN, 3D plane detection via single-shot images from NVIDIA Research
  • KNOSSOS, a framework to visualize and annotate 3D image data (neural morphology and connectivity).

tinyply not what you're looking for? tinyply trades some performance for simplicity and flexibility. For domain-specific uses (e.g. where your application does not need to handle arbitrary user-fed PLY files), there are other speedier alternatives. For more, please check out the following benchmarks:

Past Versions

  • version 2.0 is an API re-write to support later improvements towards variable length lists. One notable change is that tinyply now produces and consumes structured byte arrays, with type information held as metadata.
  • version 2.1 contained minor bugfixes and speed improvements.
  • version 2.2 is a rewrite of the inner read/write loop. Compared to version 2.0, this version reads and writes binary about five times faster. When a list size hint is given for reading, the performance is approximately comparable to rply.
  • version 2.3 contains minor bugfixes and performance improvements. A feature of the example application includes the ability to pre-load files into memory for improved runtime parsing performance on many files.

License

This software is in the public domain. Where that dedication is not recognized, you are granted a perpetual, irrevocable license to copy, distribute, and modify this file as you see fit. If these terms are not suitable to your organization, you may choose to license it under the terms of the 2-clause simplified BSD.

Popular Format Projects
Popular Mesh Projects
Popular Text Processing Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C Plus Plus
3d
Format
Computer Vision
Mesh
Geometry
Point Cloud
File Format