{"repo":"98teg/SpriteMesh","free":true,"listed":false,"github":"https://github.com/98teg/SpriteMesh","clone":"git clone https://github.com/98teg/SpriteMesh.git","description":"SpriteMesh is a plugin for Godot that allows you to create 3D meshes based on a 2D sprite.","language":null,"stars":233,"topics":["godot","godot-engine","godotengine","godot3","godot-plugin","godot-addon","mesh-generation","meshes","sprites","pixelart"],"license":"MIT","category":"game-templates","readme_excerpt":"Sprite Mesh Warning The main branch of this repository now supports Godot 4.x. If you are looking for the Godot 3.x version, please check this branch. Introduction SpriteMesh is a plugin for Godot that allows you to create 3D meshes based on a 2D sprite. It adds two new classes, SpriteMesh and SpriteMeshInstance . SpriteMesh is a Resource that contains an array of meshes and their material. SpriteMeshInstance , which inherit from MeshInstance , is used to create the meshes based on the sprite. SpriteMeshInstance can also be used to display the generated meshes on the scene. It has the benefit over MeshInstance in that it adds support for animations in which each frame is a different mesh, as seen in the example below. The algorithm SpriteMeshInstance uses to generate the meshes is a bit demanding. It is for this reason that I do not recommend executing it frequently. However, it has the benefit that the mesh it produces tends to optimize the number of tris. In this image, you can see the result of this algorithm. How to use it There are two ways of using this plugin, via the editor or code. For both of them, you would need to include the folder sprite mesh of this project into the addons directory of your Godot project. Then click the Project dropdown, select Project Settings... and go to the Plugins tab. Lastly, click on the Active check box at the SpriteMesh row. Using the editor I recommend this method if you don't need to generate the meshes procedurally. Using the editor","default_branch":null,"files":null,"tree":[],"storefront":"/r/98teg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/98teg/SpriteMesh/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}