World Library  
Flag as Inappropriate
Email this Article

OpenCTM

Article Id: WHEBN0025025465
Reproduction Date:

Title: OpenCTM  
Author: World Heritage Encyclopedia
Language: English
Subject: Three.js, Lossless compression
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

OpenCTM

OpenCTM
Developer(s) Marcus Geelnard
Initial release 2009
Stable release 1.0.3 / January 15, 2010 (2010-01-15)
Written in C
Operating system Windows, Mac OS X, Linux, etc.
Type 3D computer graphics
License zlib license
Website http://openctm.sourceforge.net/

OpenCTM is a 3D geometry technology for storing triangle-based meshes in a compact format.

Overview

OpenCTM is an open source project that has evolved around a technology for compressing 3D triangle meshes. The technology is divided into three different parts:

  • An open, binary file format.
  • An open source software library for reading and writing OpenCTM files.
  • A software tool set for converting and viewing OpenCTM files.

The triangle mesh data structure that OpenCTM uses is directly compatible with high performance graphics rendering pipelines, such as OpenGL, which makes is suitable for interactive computer graphics applications. Other application types, such as CAD/CAM tools, usually need to convert the mesh data into a custom mesh format for more efficient data handling.

OpenCTM uses a triangle index array to represent the triangle connectivity information, and several arrays for representing vertex data (vertex coordinates, normals, UV coordinates and custom vertex attributes).

File format

The file format, which is binary, uses 32-bit little endian format for all integer fields, and 32-bit binary IEEE 754 format for all floating point fields (also little endian).

The file begins with a special integer identifier, 0x4D54434F, which, if interpreted as four ASCII characters, forms the string “OCTM”. Following the identifier is an integer value that specifies the file format version (the latest official file format version is 5).

The rest of the file, which is described in the file format specification,[1] contains the triangle mesh information. This includes a compressed triangle index array and compressed vertex arrays (one array for each vertex attribute).

Due to the many steps of data processing that are required for implementing the compression, interacting with the file format directly is usually more complex than interacting with other, uncompressed triangle mesh file formats (for instance STL and PLY).

Compression

The compression is based on lossless entropy reduction, by means of various differentiation operations, followed by lossless entropy coding using the LZMA compression library.

See also

References

  1. ^ OpenCTM Format Specification, version 5

External links

  • The OpenCTM website
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.