{"id":21722384,"url":"https://github.com/jerenchen/usd-simple-decimation-schema","last_synced_at":"2025-07-12T09:36:55.375Z","repository":{"id":245388185,"uuid":"634041410","full_name":"jerenchen/usd-simple-decimation-schema","owner":"jerenchen","description":"A simple USD schema/adapter for triangular mesh decimation","archived":false,"fork":false,"pushed_at":"2024-07-12T04:48:51.000Z","size":583,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T22:07:01.566Z","etag":null,"topics":["geometry-processing","mesh-decimation","openusd"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jerenchen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-28T22:08:45.000Z","updated_at":"2024-07-12T04:48:54.000Z","dependencies_parsed_at":"2024-06-21T23:19:00.385Z","dependency_job_id":"fee48cc2-35a0-4b8d-9ac7-4e73dbae5d34","html_url":"https://github.com/jerenchen/usd-simple-decimation-schema","commit_stats":null,"previous_names":["jerenchen/usd-simple-decimation-schema"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jerenchen/usd-simple-decimation-schema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerenchen%2Fusd-simple-decimation-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerenchen%2Fusd-simple-decimation-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerenchen%2Fusd-simple-decimation-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerenchen%2Fusd-simple-decimation-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerenchen","download_url":"https://codeload.github.com/jerenchen/usd-simple-decimation-schema/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerenchen%2Fusd-simple-decimation-schema/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264972157,"owners_count":23691377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geometry-processing","mesh-decimation","openusd"],"created_at":"2024-11-26T02:28:36.848Z","updated_at":"2025-07-12T09:36:55.092Z","avatar_url":"https://github.com/jerenchen.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# usd-simple-decimation-schema\nAn example USD schema/adapter implementing a simple triangular mesh decimation using [libigl](https://github.com/libigl/libigl).\n\n![demo](demo/decimate.gif)\n\nExample \"Maneki\" animation USD asset made available by [J CUBE](https://j-cube.jp/solutions/multiverse/assets/)\n\n## Prerequisite\n* [Pixar OpenUSD](https://github.com/PixarAnimationStudios/OpenUSD)\n* CMake\n\n## Build\n```shell\ngit clone https://github.com/jerenchen/usd-simple-decimation-schema.git\ncd usd-simple-decimation-schema\nmkdir build \u0026\u0026 cd build\ncmake -DCMAKE_INSTALL_PREFIX=\u003c/path/to/usd/plugins\u003e -DCMAKE_BUILD_TYPE=Release ..\nmake -j8 \u0026\u0026 make install\n```\nThe content of `\u003c/path/to/usd/plugins\u003e` should look like this:\n```shell\n\u003c/path/to/usd/plugins\u003e\n└── plugin\n    ├── plugInfo.json\n    ├── trimesh\n    │   └── resources\n    │       ├── generatedSchema.usda\n    │       └── plugInfo.json\n    ├── trimeshImaging\n    │   └── resources\n    │       └── plugInfo.json\n    └── trimeshImaging.dylib\n```\nFinally, make sure path `\u003c/path/to/usd/plugins\u003e` is added to the env var `PXR_PLUGINPATH_NAME` for plug-in discovery.\n\n## Demo\nBefore opening the demo, either download the example USD asset from [here](https://j-cube.jp/solutions/multiverse/assets/) or via CMake:\n```shell\ncd usd-simple-decimation-schema/demo\nmkdir build_demo \u0026\u0026 cd build_demo \u0026\u0026 cmake .. \u0026\u0026 cd ..\n```\nWith both `simple-deciamte.usda` and `maneki_anim.usd` present in the same directory, run the following command to view the demo:\n```shell\nusdview simple-decimate.usda\n```\n\n## Resources\n* [USD-Cookbook: Custom schema with Python binding](https://github.com/ColinKennedy/USD-Cookbook/tree/master/plugins/custom_schemas_with_python_bindings)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerenchen%2Fusd-simple-decimation-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerenchen%2Fusd-simple-decimation-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerenchen%2Fusd-simple-decimation-schema/lists"}