Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [vertex-colors]

Vertex colors are color values that can be stored with each vertex in a mesh. This tag is for anything related to them.

Filter by
Sorted by
Tagged with
29 votes
4 answers
43k views

How can I set and get the vertex color property?

I can't find a way to display RGB values (or equivalent) without using the python shell. I would like to get and set color values numerically (ie. not painting), I can't find it for weight painting ...
user1759333's user avatar
24 votes
1 answer
42k views

How can vertex paint be rendered?

I have added some vertex paint and would like to see it in the render. It looks simple enough on all the tutorials, except I don't have those options available; Having spent hours researching I am ...
Mikolajki's user avatar
  • 243
23 votes
2 answers
42k views

Is it possible to paint only on selected vertices in vertex paint?

I'm trying to add some fake shading to a model in vertex paint mode, but I'm having trouble because some parts of the mesh hide the vertices I'm trying to paint. Ideally, since I'm painting the same ...
MrFlamey's user avatar
  • 3,859
14 votes
5 answers
15k views

How to bake to vertex colors in blender cycles?

The long way I do this is: have cycles render selected setup the materials of a mesh create it's UV coordinates create a new image and assign it to the mesh bake change from cycles to ...
porente's user avatar
  • 301
14 votes
2 answers
3k views

How to colour vertices of a beveled curve mesh without converting to mesh?

For scientific visualisation, I'm using a lot of splines which are bevelled with an object (i.e. a hexagon). I control the level of details depending on the context. Without losing the benefits of ...
nantille's user avatar
  • 819
12 votes
2 answers
3k views

Is there a way to compute vertex density?

I've got a mesh and am trying to figure out if there is a way to get a map of its vertex density. Ideally it would be something that I could put into a color ramp node and visualize. The goal is to ...
ajwood's user avatar
  • 10.1k
12 votes
2 answers
26k views

How to display and use Vertex Color from OBJ model

Recently, I found this funny site, that allows you to generate a 3D model from a 2D image. It works very well and you can download an OBJ file. Vertex are colored and when I import it using Blender, ...
snoob dogg's user avatar
11 votes
1 answer
619 views

How can I get the color in the middle of a face using Python?

Say I have a mesh and I have colored the vertices using vertex paint, how can I then get the average of the colors or rather the color in the middle of the face or the color under the normal (shown ...
Scales's user avatar
  • 328
9 votes
3 answers
10k views

Geometry Nodes output to vertex color

I'm new to geometry nodes in 3.0 and a bit stuck on understanding how to output data. I've spent a fair bit of time searching this, but perhaps I don't understand the system well enough to find the ...
TuquePhoenix's user avatar
9 votes
1 answer
18k views

Import PLY doesn't display vertex colors

I'm trying to import a .PLY mesh in Blender. I've troubles with colors: the mesh appear in a grayscale palette. Other softwares open it correctly (eg. MeshLab). This is the header of the PLY file: <...
sborfedor's user avatar
  • 398
9 votes
2 answers
6k views

File format with per face colors

I am trying to export a mesh from some scientific experiment (in MATLAB) and load it in blender for rendering. I'd like to assign per-face colors (as opposed to per-vertex with interpolation over ...
olamundo's user avatar
  • 428
8 votes
2 answers
21k views

How to view vertex' colors?

I'm a beginner. Is it possible (and if so, how) to select a single vertex and change its color? I tried the "Vertex paint" mode, but couldn't find a way to select a single vertex and view its color. ...
liorda's user avatar
  • 181
8 votes
2 answers
805 views

Linking the color of one mesh to a second mesh

I have a series of tubes that were inputted as VRMLs with varying colors. I have made a path out of them and have the sphere following the tubes. I want to link the color of the sphere to be the same ...
rwinfree's user avatar
8 votes
3 answers
2k views

Smoothing vertex_colors values

I'm coloring a mesh using vertex colors: ...
Noam Peled's user avatar
8 votes
2 answers
4k views

How to animate vertex color of an object?

Is it possible to animate the vertex color of an object?
GabrielS's user avatar
  • 1,380
7 votes
5 answers
15k views

Turn weight paint(vertex groups) into vertex paint?

Can I turn weight paint(vertex group data) into vertex paint? I would like to take the weight paint value and convert it into a black and white grey scale vertex paint map.
GiantCowFilms's user avatar
7 votes
2 answers
2k views

Dilate/expand vertex color mask?

I'd like to use vertex colors in order to apply different shaders on a single object, instead of going through the whole process and drawing a 'black and white' texture (for 1000+ objects). ...
brockmann's user avatar
  • 12.6k
7 votes
1 answer
5k views

Bake a texture to vertex color in Blender 2.8

In Blender 2.8 was removed Blender Render, where was option "Bake Texture to Vertex Color". Unfortunately in Eevee there is no such functionality. I like new Blender 2.8 very much, but I can't use it ...
chikomoreno's user avatar
7 votes
1 answer
821 views

Blender for scientific visualization - Point color interpolation from vertex color data based on distance

TL;DR: For a given point in a face/polygon how can I compute the distance between that point and all the vertices on the given face with shader nodes? Overall intent: I want to visualize complex ...
Rui Costa's user avatar
7 votes
1 answer
5k views

When is vertex painting the right choice to color a model? [closed]

I am asking this question because I cannot think of any advantage to vertex painting over automatic uv unwrapping followed by texture painting.
rbtyod's user avatar
  • 333
6 votes
1 answer
3k views

Applying per-vertex colors to new Bmesh

I'm having trouble applying vertex colors through Python to a mesh. The mesh is imported from a file which has vertex info, face info (vertex indices), and a list of colors that corresponds to each ...
Tom's user avatar
  • 61
6 votes
2 answers
1k views

Does Blender support linear colorspace for vertex colors?

It looks like the vertex colors in Blender are stored using sRGB colorspace. The game engine I'm using (Apple SceneKit) uses linear colorspace. As I export the vertex painted model either using the ...
Teemu Harju's user avatar
6 votes
1 answer
2k views

Vertex colors are wrong value?

I am using a renderlayer with some vertex colors to render some masks. I have an object with a vertex color layer. The entire object is set to RGB values of .25 each (using set vertex colors command.) ...
Ascalon's user avatar
  • 6,609
6 votes
3 answers
2k views

How to hide vertex colors in Texture Paint?

I am currently trying to paint a texture onto a character model. However, I cannot actually see what I am doing because one of the vertex color layers is being overlaid on top of the texture, causing ...
Zauberin Stardreamer's user avatar
6 votes
1 answer
533 views

Are Vertex Color layers limited to 8?

Why is there a limit for vertex-colour layers? Is this a bug or is there a reason, why I cant add more than 8 vertex-color layers? I will make a bug-report if it is a bug - but I'm not sure for now. ...
Andi 's user avatar
  • 751
6 votes
1 answer
695 views

Geometry Nodes Separate out Alpha Channel from Vertex Colors

I'm using the RGBA channels of the vertex colors on geometry for various effects but I can't find a way to separate out the alpha channel in geometry nodes. Is there a way to access the Alpha channel ...
BenignBrett's user avatar
5 votes
2 answers
19k views

Bake vertex colors to texture from mesh

This has been asked before but I can't find the solution now. The solution was something about going into blender render, setting the bake type to vertex colors and then just baking but I'm just ...
Life's user avatar
  • 159
5 votes
1 answer
752 views

for all objects, rename 'Vertex Colors" that has a certain name :: using python

Many objects in my scene has Vertex color (left image) that is used in Shader Node (right image). ^ I want to change color1 to a more meaningful name e.g. ...
cppBeginner's user avatar
5 votes
1 answer
655 views

Is it possible to use multiple active vertex colors?

I'm using vertex colors to control features of a material. This works well for one of them, but I'm out of channels and need to handle pigmentation now. The other option is of course using a texture, ...
Michael Macha's user avatar
5 votes
2 answers
2k views

Vertex color gradient is not linear

I am painting the default cube through vertex coloring. I paint the bottom four vertices as (0.25, 0.25, 0.25) and the top four vertices as (0.75, 0.75, 0.75). When I inspect the result in VERTEX ...
Math_Max's user avatar
  • 183
5 votes
1 answer
141 views

Merging vertices messes up the vertex colors. Is there any fix for that?

Merging vertices messes up the vertex colors. Is there any fix for that? Before merging by distance: After merging by distance: I am using blender 4.0: Here's the file:
Richard Dickens's user avatar
5 votes
1 answer
1k views

Vertex color values over one

Is it possible to paint vertex colors that are higher than one? Vertex colors are exposed through the python API as floating point numbers. If this is how they're stored, they should happily accept ...
SmashMaster's user avatar
5 votes
4 answers
1k views

Disconnected (exported) mesh because of vertex paint?

I have a model that was imported from an erronous file where each triangle was disconnected from the others. After "reconnecting" it via removing duplicate vertices and exporting (to .ply with vertex ...
Nobody moving away from SE's user avatar
4 votes
1 answer
13k views

How do I set a vertex color material in Blender 2.8?

I have a model with vertex colors in it. I would like to display it in rendered shading. There is no more an input called vertex color. I'm using Blender -2.80-387c1f2e0d5d-linux-glibc224-x86_64 How ...
chicOrtiz's user avatar
  • 485
4 votes
2 answers
7k views

Per face vertex coloring

In blender you can color the vertexes. But is there a way to color the faces so the faces have only one color instead of the colors being interpolated based on the colors of the surronding verticies. ...
VinnieH01's user avatar
  • 107
4 votes
1 answer
1k views

Vertex colors loose color data

Vertex color data seems to be distorted when used in material nodes, does anybody has similar issues? Looks like Blender modifies them for Cycles somehow. I am using VC not for coloring but for ...
IPv6's user avatar
  • 323
4 votes
2 answers
6k views

Can Collada export vertex colors?

In order to demonstrate my problem, I created a simple scene with a cube and I used Vertex Paint to color one corner. When I export to COLLADA, I make sure that "Include Material Textures" is checked....
Garrett's user avatar
  • 6,596
4 votes
1 answer
2k views

Geometry Nodes: Face Corner Colors

'Vertex' painting is actually face-corner painting. So per-face colors are possible, can be picked up by an Attribute input node in shader-trees. Here are 2 color-attribute layers on a cube, both ...
Robin Betts's user avatar
  • 77.4k
4 votes
2 answers
747 views

Is it possible to convert Matcap colours to vertex or material colours?

What I would like to do is simply to apply a Matcap while editing, and then use its base colour as the colour of the object for test rendering etc. Is this possible? To put it another way, if the ...
A Wild RolandiXor Has Appeared's user avatar
4 votes
1 answer
244 views

Setting vertex color with ob.data.vertex_colors["Col"].data[0].color stores values wrong

when I set the color of vertex data with; ob.data.vertex_colors["Col"].data[0].color = [0.7, 0.5, 0.3] and then look at the values, they are different ...
Chris's user avatar
  • 41
4 votes
2 answers
4k views

How can I import an OBJ with Vertex Colors into Blender 3.2?

I've got an OBJ file with vertex colors, created by a machine learning script (PiFuHD). I want to get the mesh and colors into Blender. As far as I can tell, there's no way to change the output format ...
Dr. Cyanide's user avatar
4 votes
1 answer
7k views

How to export vertex colors

this is a follow-up to this other question. I now have a mesh with vertex colors applied as attribute inside the Object Data Properties. I have tried to export this mesh into various formats, ...
zbigniew's user avatar
  • 115
4 votes
1 answer
7k views

Getting Blender to export .ply files with vertex colors

I'm trying to get Blender to export .ply files with vertex colors and triangular faces. First, I assign my model a material, and change its diffuse color. Then, in edit mode, with my whole model ...
Robo11's user avatar
  • 105
4 votes
1 answer
3k views

Set Vertex normals to vertex color in Python

How do i set the vertex color to vertex normal for all vertices of an selected object? My approach here somehow prints only a few vertices and spares out the rest :( How can i fix that and include ...
StreakyCat's user avatar
4 votes
1 answer
1k views

How to access vertex_color layer directly from inside BMVert

I want to access vertex colors directly from inside BMVerts, but I don't know how. I am able to access vertex colors indirect for inside BMFaces: ...
beta-tester's user avatar
4 votes
1 answer
547 views

Is there a way to not limit vertex painting to visible geometry?

Is there a setting for vertex painting which allows you to paint on geometry that is visually obscured from the view by geometry in front of it? (I am looking for something similar to the limit ...
PGmath's user avatar
  • 25.2k
4 votes
0 answers
437 views

Vertex colors with skin modifier

I have some curves that I want to render in Cycles; these are not blender curves, instead they are composed of a set of vertices, each having a color, and edges (but no faces). Using the skin ...
Synxis's user avatar
  • 141
4 votes
0 answers
1k views

Retrieve vertex colors in 2.8

2.79 allowed you to set shading to flat, which would render the vertex color 1:1 on screen (assuming the entire normal had been solidly colored and noting else is being set to diffuse, of course ...
Super Cat's user avatar
  • 237
4 votes
0 answers
169 views

Any way to have more than 8 vertex paint slots?

Currently there is a limit of 8 vertex paints slots, is there anyway to have more than 8 slots?
Ravenman 13's user avatar
4 votes
1 answer
2k views

Weight paint only working on some vertices? [v2.73]

I am trying to weight paint a mesh for a unity game, and only a few if any of the vertices are being painted. This is something I was able to do a while back in version 2.49, but now it doesn't work. ...
Geoffrey Van Gieson's user avatar

1
2 3 4 5
7