Publisher | Doubtfulpixel |
---|---|
File size | 284.94kB |
Number of files | 19 |
Latest version | 1 |
Latest release date | 2015-11-30 11:32:21 |
First release date | 2015-11-30 11:32:21 |
Supported Unity versions | 2018.4.2 or higher |
This script gives you the ability to convert triangular mesh to line mesh (MeshTopology.Lines: https://docs.unity3d.com/ScriptReference/MeshTopology.Lines.html). It could be used to create wireframe rendering effect or for highlighting objects. This converter major feature is the ability to omit certain edges if an angle between faces this edge belongs to is less than angle threshold. If the angle threshold is equal to zero then all edges from source mesh would be added to the created line mesh. Also, It can be useful for a deeper look to mesh topology, as an example to see a discontinuity in mesh.
You can save created line meshes to asset folder by selecting “Save mesh” in the component context menu.
This package doesn't work with Skinned Mesh Renderer.
Source code included.
Demo:
Wire mesh WebGL demo
You can save created line meshes to asset folder by selecting “Save mesh” in the component context menu.
This package doesn't work with Skinned Mesh Renderer.
Source code included.
Demo:
Wire mesh WebGL demo