Selectedtovertexcolor

by Martin Brockelmann in Addons


Hi, thank you, for using my add-on. With this add-on you can easily set the vertex color of the objects in your scene. This is for example a great help, when you want to create an ID-map or just visual colorize objects and vertices quickly in different colors. With this add-on you can do this with one click or a customizable keyboard shortcut.

You can install the add-on by going to ‘Edit’ – ‘Preferences’ – ‘Install’ and select the Python File from your disc. After installing, search for it in the list, activate it with the checkbox and save the preferences. This add-on is created for Blender versions higher than 3.0

You will find the add-on controlls in the 3d view in object mode, edit mode and vertex paint mode at the window header. It will not work in other modes.

Select your models in object mode and choose the color (color wheel comes up, when you click on color field), in which all selected objects are supposed to be marked. Then press the button 'SelToVertCol' or the default keyboard shortcut 'ctrl+shift+v' and the color will be assigned. It only takes mesh based objects into account and switches into the visual render mode for displaying vertex colors in the 3d-view automatically.

In edit mode the selected vertices will be colorized. If you activat "MaskSharp", the color will stay completely in the selected bounds of the faces (like an inverted mask), otherwise the color will blend to the surrounding vertices.

If you would like to have every of your selected objects in a different vertex color, press the button 'RandVertColToSelObjs'. This will generate random colors for every other model in your selection. This is a quick and easy way to create ID-Maps, if you use more objects combined.

The add-on takes care of the basic management of your vertex color layers. It creates a new layer, if not there yet and sets it to the active vertex color render layer. Be aware, that if you already had a vertex color layer with a different name than 'Col', the new one will be active and rendered.

Currently it works for just one object at a time, if you are in edit mode. If you want to affect child objects, they have to be selected, too.

I hope, this makes future parts of your work easier…


Changes in Versions

  • V1: Basic functions
  • V1.1: 
    • A checkbox “MaskSharp” was added in edit mode. If activated, the color will stay completely in the selected bounds of the faces (like an inverted mask), otherwise the color will blend to the surrounding vertices.
    • Operation SelToVerCol can be started from vertex color mode. Random color is here not possible. Takes only object in account, which is in active selection (in object mode)
    • In vertex paint mode you can utilize the native paint mask (activate function and select areas as a mask), otherwise the whole object will be colorized.
    • Stays in mode, in which operation was started

    • V1.2:
      • Select a color directly in menue (no popup) with a more versatile color wheel (RGB, HSV, HEX).
      • Preview of the selected color.
      • EyeDroper for pic up color
      • No longer confirm action by colorize with random color
      • Shortcut is customizable in the add-on preferences
      • Re-organized UI
      • Buttons deactivated when no object is selected (info label)
    Sales 60+
    Customer Ratings 3
    Average Rating
    Dev Fund Contributor
    Published almost 3 years ago
    Blender Version 2.8, 2.81, 2.82, 2.83, 2.9, 2.91, 2.92, 2.93, 3.0, 3.1, 3.2
    License GPL
    Have questions before purchasing?

    Contact the Creator with your questions right now.

    Login to Message