{"id":62351,"library":"openctm","title":"OpenCTM","description":"Open Compressed Triangle Mesh file format library for compression of 3D triangle meshes.","status":"active","version":"1.0.3","language":"cpp","source_language":null,"source_url":null,"tags":["3d","mesh","compression","triangle","file-format"],"install":[{"cmd":"vcpkg install openctm","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(openctm CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE openctm::openctm)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"openctm.h","correct":"#include <openctm.h>"}],"quickstart":{"code":"#include <openctm.h>\n#include <stdio.h>\n\nint main() {\n    CTMcontext context = ctmNewContext(CTM_IMPORT);\n    ctmLoad(context, \"mesh.ctm\");\n    if (ctmGetError(context) == CTM_NONE) {\n        printf(\"Loaded mesh with %d triangles\\n\", ctmGetTriangleCount(context));\n    }\n    ctmFreeContext(context);\n    return 0;\n}","lang":"cpp","description":"Loads a compressed triangle mesh from a .ctm file."},"warnings":[],"env_vars":null,"search_vec":"'3d':12,15 'compress':3,10,17 'file':6,20 'file-format':19 'format':7,21 'librari':8 'mesh':5,14,16 'open':2 'openctm':1 'triangl':4,13,18","created_at":"2026-06-17T05:25:22.136405+00:00","updated_at":"2026-06-17T05:25:22.136405+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}