Select Vertex Color is an addon for blender that both selects an object by vertex color, and limited dissolves the vertex colors individual for quick triangle reduction.
My intentions were to quickly create an addon for blender that would improve modelling workflow between MagicaVoxel -> Blender -> Roblox.
- Export model as .ply format from MagicaVoxel.
- Import model to blender as .ply
- Select the object in Blender, and go into
Edit
mode. - Open the N-Menu on the right side of the viewport by using the
N
hotkey. - Select
Clean Vertex Color
from the list. ( Yea, I should definitely rename that ) - After the menu is opened press the
Clean Vertex Color
button to clean the mesh.
This addon is valuable because it enables sharp lines for vertex colors, which is not commonly used. It's mostly useful when working with voxelated models. The addon maintains distinct color boundaries without any gradation, enhancing the visual clarity of voxelated models. In summary, this addon's ability to retain sharp lines for vertex colors greatly improves the appearance.
To answer this question, I have to explain the limitations of the Roblox engine. Currently on Roblox we are limited to use an object called SurfaceAppearance which provides some PBR capabilities, including Metalness, Roughness, Normal, and Color Maps. These maps are great, but unfortunately we lack the ability to use some of Robloxes built in materials like Glass, Forcefields, and Neon. It is not well-known that meshes with vertex coloring have the capability of using built in materials while also including the colors from the mesh, an example is shown below:
Here is a helmet I made in MagicaVoxel that uses vertex coloring, and the default Roblox SmoothPlastic material, exported from blender using.
Now here is an example using a SurfaceAppearance, the results of using the TextureID property of the mesh are the same.