Skip to content

πŸ–ŒοΈ Blender Addon To Make Vertex Painting Easier!

License

Notifications You must be signed in to change notification settings

tojynick/More-Colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Addon banner

πŸ–ŒοΈ More Colors!

A simple Blender add-on that makes working with vertex colors easier.

✨ Features

  • πŸ‘οΈ Preview vertex colors from object and edit modes
  • πŸ–ŒοΈ Various tools, including simple selection fill, random color generator, and a gradient generator
  • 🎭 RGBA color masking, modify only the channels you need

βœ… Prerequisites

πŸ”§ Installation

There are two ways to install the add-on: via Blender's extensions or manually. Let's take a look at each option.

Manual Installation

  1. Download the latest version of the package

  2. Inside Blender go to Edit -> Preferences -> Get Extensions

  3. Click on the down arrow at the top right corner

    Installation step 4 screenshot
  4. Press "Install from Disk..."

  5. Selected the downloaded package

  6. Enjoy ✨

Installation Via Blender's Extensions

  1. Inside Blender go to Edit -> Preferences -> Get Extensions
  2. In the search box type "More Colors!"
  3. Click "Install"
  4. You're awesome ✨

πŸš€ Getting Started

After installing the add-on, you can see it on the side panel (press N to open it). It should look something like this: Addon overview screenshot

As you can see, it consists of several main sections, including About, Settings and Tools sections.

About Section

Contains general info about the plugin such as add-on name and version, as well as a link to this documentation.

Settings Section

Contains various settings, including display settings and global color settings.

Display Settings

With display settings, you can control vertex color visibility. Make sure it's on before using any of the tools!

Global Color Settings

The add-on has two settings here: a color mask and a reset colors button.

With the color mask, you can restrict, which RGBA channels are affected by add-on tools. Every channel is on by default, which means colors are applied as usual. But imagine you left only the red channel on. In this case, only the red channel values will be modified, and values on other channels will not be affected. Why do we need this? Well, you can use different color channels to store different information that will be used later (for instance in shaders). As an example, your red channel might be a position gradient, your blue channel might be some kind of a mask, and so on.

Reset Color Button

A reset colors button just sets all vertex colors to black.

πŸͺ› Tools

Contains all the tools the add-on has to offer. At the moment it has a Simple Fill, a Random Color Per Element, and a Color By Position tool.

Simple Fill Tool

Simple fill tool screenshot

It applies a selected color to the selected object(s) or selected parts of the mesh (points, edges, or faces). Also has four preset colors, you can assign them as your main color with a select button, or immediately apply them to the mesh with a quick apply button.

Random Color Per Element Tool

Random color per element tool screenshot

Applies a random color to the selected object(s). Doesn`t support applying colors to parts of the mesh!

Generate Per Element

There are several elements per which random colors will be generated:

  • Points
  • Vertices
  • Faces
  • Islands

The difference between points and vertices is that a point can share several vertices, but a vertex is the smallest unit and cannot be divided into something else.

Oh, and about islands. Islands usually occur, when you combine several meshes into one, by using Join (Ctrl J) for example. Even though the result of Join is a single mesh, you still can split it by vertex connectivity and apply different colors per island. This might be useful when you have a complex object consisting of several independent parts and you want to quickly make an ID map for it.

Color Generation Algorithm

Also, you can choose, how colors will be generated. There are two modes: RGB and Hue random.

RGB random colors are colors, where each component (red, green, and blue values) are independently generated numbers in a range from zero to one.

Hue random colors are generated by creating an HSV (hue, saturation, value) color representation first, randomizing the hue value, and then converting it back to RGB space. It produces more distinct results, which might be useful for ID maps for example.

Color By Position Tool

Color by position tool screenshot

Generates a linear gradient, based on vertex position along a selected direction. You can choose between generating a gradient in the object's local space (rotation affects the direction of the gradient) or in world space (object rotation doesn't affect the gradient direction).

πŸ“ƒ License

Licensed under GNU General Public License, Version 3.0, LICENSE or https://www.gnu.org/licenses/gpl-3.0.en.html

❀️ Gratitude

Some ideas are inspired by Ethan Simon-Law`s Vertex Color Plus addon, check it out as well!