|Title||Wireframe Tool||Wireframe Tool|
|Description||Do you like thin sharp lines of Kentucky Route Zero? Do you like Battlezone? Do you want to use wireframe art style? Do you need outline shader? The problem of pure wireframe look is that every edge of the model is rendered. And because every model has to be triangulated before rendering, you will get a very noisy look with a lot of unwanted triangles. This tool will help you to create customized wireframe from imported mesh.||
Do you like thin sharp lines of Kentucky Route Zero? Do you like Battlezone? Do you want to use this art style in your game? The problem of pure wireframe look is that every edge of the model is rendered. And because every model has to be triangulated before rendering, you will get a very noisy look. This tool will help you to create customized wireframe from imported mesh.
How to use:
Start WFT: If selected MeshInstance has a Mesh (which wasn't processed by this tool before) with surface, you can start a wireframe tool. It will generate a wireframe preview and make a backup of original Mesh. It will be saved together with your scene. You can now edit the wireframe (take a look at EDITING section).
Base Color: Every vertex will be colored by this color after you hit Start WFT.
VP Color: Choose the color of Vertex painter. Every selected vertex is automatically colored by this color.
Commit WFT: Every MeshInstance with active WFT has a metadata stored inside. They can make your scene large so if you're happy with wireframe or you are about to ship your game, you should commit the changes. This will delete metadata but you won't be able to edit the mesh after that.
Cancel WFT: This option will revert mesh back to previous non-wireframe look and it will delete metadata. After you do this, you can use wireframe tool on this mesh again.
LMB - Edge selector: If selected MeshInstance has an active WFT, you can choose multiple edges by LMB. If you click on already selected edge, it will be excluded from selection.
LMB + Alt - Vertex painter: If selected MeshInstance has an active WFT, you can choose vertex by LMB+Alt. This selector will color chosen vertex.
D: Delete selected edge(s).
B: Bring back the last deleted edge.
Good things to know:
Smooth your models first! Do not use flat shading. Don't make any edge sharp. Plugin doesn't like duplicated vertices.
This tool works (for now) only with one surface per mesh!
MeshInstance with active WFT has metadata called "orgMesh" and "DEL". Don't touch it!
MeshInstance with active WFT has a special unshaded material which shows vertex colors. If you Commit WFT, this material is deleted (so you can use your own) and it will look like you lost the colors. You didn't. You can get the color in vertex shader input color.
If you want to change thickness of lines, you have to assign your own material to mesh. There's a Line Width parameter.
Metadata related to Mesh are saved inside MeshInstance. That means MeshInstance and Mesh are linked and if you break that link, weird things will happen.
|Category||3D Tools||3D Tools|
|Godot version||Godot 2.1|
|Download Url (Computed)||https://github.com/GlaDOSik/GodotWireframePlugin/archive/7a3990916482ee7b6c8665fc638e7e5949338754.zip||https://github.com/GlaDOSik/GodotPlugins/tree/master/addons/Wireframe%20Tool/archive/7a3990916482ee7b6c8665fc638e7e5949338754.zip|