{"id":17722481,"url":"https://github.com/leixingyu/reducepoly","last_synced_at":"2025-06-14T20:07:45.061Z","repository":{"id":132642562,"uuid":"279876186","full_name":"leixingyu/reducePoly","owner":"leixingyu","description":"Poly-reduction visualization plugin for Maya","archived":false,"fork":false,"pushed_at":"2021-12-30T00:56:55.000Z","size":321,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-09T23:47:04.014Z","etag":null,"topics":["algorithms","cpp","maya-api","maya-plugin","mesh"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leixingyu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-07-15T13:29:49.000Z","updated_at":"2022-12-07T12:26:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"54e5e9d1-7756-4742-a889-b7e4a695be5b","html_url":"https://github.com/leixingyu/reducePoly","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leixingyu%2FreducePoly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leixingyu%2FreducePoly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leixingyu%2FreducePoly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leixingyu%2FreducePoly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leixingyu","download_url":"https://codeload.github.com/leixingyu/reducePoly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532517,"owners_count":20306151,"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":["algorithms","cpp","maya-api","maya-plugin","mesh"],"created_at":"2024-10-25T15:38:27.872Z","updated_at":"2025-03-14T05:31:52.194Z","avatar_url":"https://github.com/leixingyu.png","language":"C++","readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1 align=\"center\"\u003eMaya Reduce Poly Plugin\u003c/h1\u003e\n\n  \u003cp align=\"center\"\u003e\n    A simple plugin for visualizing mesh reduction in Maya\n    \u003cbr /\u003e\n    \u003ca href=\"https://youtu.be/juwPpeyG7yg\"\u003eFull Demo\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## About The Project\n\nThe algorithm is based on a paper from 1998: [A Simple, Fast, and Effective Polygon Reduction Algorithm](http://pds26.egloos.com/pds/201402/12/11/gdmag.pdf)\nwhich collapses vertices with the lowest cost one by one. \nThis gives a great visualization of the poly reduction process. \n\nThe limits are that it takes a lot of time to process high poly mesh, and it only works for triangular meshes. \nA possible optimization is to compute to desire poly-count, store the vertex order and then re-construct the mesh all at once, \nbut that would lose the slowly-reduced visualization.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://i.imgur.com/WyGO59u.gif\" alt=\"reduce\"\u003e\n\u003c/div\u003e\n\n## Getting Started\n\n\u003e The Plugin is compiled for Maya 2018\n\n1. [Download](https://github.com/leixingyu/reduce-poly/releases/tag/v0.1.0) the latest plugin release\n\n\n2. Load the `reduceCommand.mll` in Maya through Plug-in Manager\n\n\n## Usage\n\nThe plugin is a custom command plugin, once the plugin has loaded, \nyou should be able to run it with `maya.cmds`. \n\nI strongly suggest\nusing a mesh under 3000 vert-count as the algorithm is not optimized yet.\nThe plugin also only supports triangle meshes.\n\n1. Select the mesh you want to reduce in the scene\n\n\n2. Execute using `reduceCmd()` of desired reduce rate using `percentage` flag.\nThe `percentage` is how much vertices you want the mesh to remain compared to \nthe original. (example: A mesh with 1000 verts will be reduced to\n200 verts after running with`percentage=20`)\n\n    ```python\n    import maya.cmds as cmds\n    cmds.reduceCmd(percentage=50)\n    ```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleixingyu%2Freducepoly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleixingyu%2Freducepoly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleixingyu%2Freducepoly/lists"}