Skip to content

Clean 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

Notifications You must be signed in to change notification settings

Amero-EOF/Clean-Vertex-Color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Clean Vertex Color (Blender Addon)

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.

Instructions

  1. Export model as .ply format from MagicaVoxel.
  2. Import model to blender as .ply
  3. Select the object in Blender, and go into Edit mode.
  4. Open the N-Menu on the right side of the viewport by using the N hotkey.
  5. Select Clean Vertex Color from the list. ( Yea, I should definitely rename that )
  6. After the menu is opened press the Clean Vertex Color button to clean the mesh.

Notes


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.


Why use vertex color when Diffuse Maps/Color Maps already exist even on a platform like Roblox?


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:


Basic Vertex Coloring

Here is a helmet I made in MagicaVoxel that uses vertex coloring, and the default Roblox SmoothPlastic material, exported from blender using.

RobloxStudioBeta_2AQss5oLQ6


Vertex Coloring W/ Neon

Once again the Helmet with Robloxes built in Neon material.

RobloxStudioBeta_3QgbUpzuvH


SurfaceAppearance/TextureID

Now here is an example using a SurfaceAppearance, the results of using the TextureID property of the mesh are the same.

image

About

Clean 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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages