{"id":13732374,"url":"https://github.com/vkvd/polyedit","last_synced_at":"2025-05-08T06:32:13.868Z","repository":{"id":216135936,"uuid":"64112471","full_name":"vkvd/polyedit","owner":"vkvd","description":"2d lowpoly editor based on http://raincomplex.net/lowpolyeditor/","archived":false,"fork":false,"pushed_at":"2017-01-08T20:42:20.000Z","size":22347,"stargazers_count":19,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-04T02:11:09.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vkvd.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}},"created_at":"2016-07-25T07:18:26.000Z","updated_at":"2021-08-07T21:56:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1bf3817-fb8b-43ea-ab0b-9da9b94444ac","html_url":"https://github.com/vkvd/polyedit","commit_stats":null,"previous_names":["vkvd/polyedit"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vkvd%2Fpolyedit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vkvd%2Fpolyedit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vkvd%2Fpolyedit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vkvd%2Fpolyedit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vkvd","download_url":"https://codeload.github.com/vkvd/polyedit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224708249,"owners_count":17356504,"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":[],"created_at":"2024-08-03T02:01:54.833Z","updated_at":"2024-11-14T23:32:19.307Z","avatar_url":"https://github.com/vkvd.png","language":"C++","readme":"# polyedit\n### 2D lowpoly editor heavily based on [this one](raincomplex.net/lowpolyeditor)\n\n![Image](Screenshots/screenshot.png)\n\n### Download\n[Direct link](https://github.com/vkvd/polyedit/releases/download/1.0/polyedit.exe)  \n[Releases page](https://github.com/vkvd/polyedit/releases/)\n\n### Libraries\nThis project uses:\n* [SFML](http://www.sfml-dev.org/)\n* [Tiny File Dialogs](https://sourceforge.net/projects/tinyfiledialogs/)\n* [jsoncpp](https://github.com/open-source-parsers/jsoncpp)\n* [imgui](https://github.com/ocornut/imgui)\n* [SFML imgui backend](https://github.com/Mischa-Alff/imgui-backends)\n\n### Building\n**In VS2013/2015 (untested on anything else) the build must be set to \"Release\" instead of \"Debug\".**\n\nThe project looks for libraries to link against in the /include/ and /lib/ directories. Include and lib are in the repo for VS2013 - if you have any other compiler, drop the SFML and jsoncpp include directories in the project's include directories, and do the same for the lib, and it should compile; make sure to switch the dlls out as well. \n\nIt has been tested on VS2013 and VS2015 - just switch out the libs/dlls for the corresponding ones for your compiler.\n\n### Controls\nControls are very similar to the editor it's based on, with a few changes.\nPanning works without a mouse.\n\n- **Mouse controls**\n  - Left click: Place point/select point\n  - Right click: Select polygon with center nearest to mouse\n  - Middle (scrollwheel) click: Pan camera\n- **Keyboard controls**\n  - S: Save image \n  - **Camera**\n    - LControl: Identical to middle mouse - pan camera while held\n    - Arrow keys: Move camera\n    - +/-: Zoom\n  - **Editor toggles**\n    - W: Wireframe mode, only show colored outlines\n    - H: Hide/show background image\n    - X: Hide/show polygon centers (useful for seeing density/distribution and easier selection)\n    - P: Hide/show polygon points\n  - **Selection tools** \n    - Delete: Delete selection\n    - Space: Clear selection\n    - **Coloring tools**\n      - A: Reaverage polygon color (useful for small changes that keep the same general color but add slight change)\n      - O: Change polygon color to color at mouse point\n      - C: Open color picker to select color\n    - **Overlapping**\n      - Comma: Send selection to back\n      - Period: Send selection to front\n\n**Antialiasing levels** are supported, just launch the exe with a number after it for the AA level.  \n\nExample:  \n    polyedit 8\nfor 8x AA.\n  \n### Platforms\nIt *theoretically* should work on all platforms, however it's only been tested on windows.\n\n### Notes\nResizing is supported and should work but occasionally glitches.  \nImages are saved on exit.  \nAny point outside the boundary has the color of the closest in-image-boundary point - triangles made outside the image bounds should get correct colors.  \nSaving pushes all out-of-bounds points inbound.  \nThe editor only recognizes the vertices file if it is in the same directory as the image with the same name.\n\n### License\nMIT License.\n","funding_links":[],"categories":["Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvkvd%2Fpolyedit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvkvd%2Fpolyedit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvkvd%2Fpolyedit/lists"}