Skip to content

OctopusET/openctm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages