请输入您要查询的百科知识:

 

词条 OpenCTM
释义

  1. Overview

  2. File format

  3. Compression

  4. See also

  5. References

  6. External links

{{Multiple issues|{{Refimprove|date=December 2009}}{{COI|date=December 2009}}{{notability|Products|date=July 2016}}{{Inadequate lead|date=September 2018}}
}}{{Infobox software
| name = OpenCTM
| logo =
| screenshot =
| caption =
| developer = Marcus Geelnard
| released = 2009
| latest_release_version = 1.0.3
| latest_release_date = {{release date|2010|01|15}}
| latest preview version =
| latest preview date =
| operating_system = Windows, Mac OS X, Linux, etc.
| programming language = C
| genre = 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

  • List of file formats
  • Lossless data compression

References

External links

  • The OpenCTM website
{{DEFAULTSORT:Openctm}}{{graphics-software-stub}}

4 : CAD file formats|3D graphics software|2009 software|Software using the zlib license

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/13 0:46:55