openctm 0.1.0

Pure-Rust decoder for the OpenCTM mesh format (MG1 method)
Documentation
  • Coverage
  • 28.57%
    2 out of 7 items documented1 out of 3 items with examples
  • Size
  • Source code size: 28.21 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 310.7 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • OctopusET/openctm
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • OctopusET

openctm

This is slop coded.

Pure-Rust decoder for the OpenCTM mesh format. Implements the MG1 method (lossless, LZMA-compressed) — the method Bentley ContextCapture uses in 3mx output. Validated byte-identical against the reference C library.

let mesh = openctm::decode(&std::fs::read("mesh.ctm")?)?;
// mesh.positions, mesh.indices, mesh.uvs, mesh.normals

RAW and MG2 are not implemented.

License

Apache-2.0.