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
26
votes
4answers
26k 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 ...
23
votes
1answer
32k 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 ...
20
votes
2answers
31k 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 ...
13
votes
2answers
2k 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 ...
12
votes
4answers
11k 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 ...
11
votes
1answer
419 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 ...
10
votes
2answers
1k 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 ...
9
votes
2answers
3k 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 ...
9
votes
2answers
15k 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, ...
8
votes
2answers
269 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 ...
8
votes
1answer
9k 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: <...
8
votes
3answers
962 views

Smoothing vertex_colors values

I'm coloring a mesh using vertex colors: ...
8
votes
2answers
2k views

How to animate vertex color of an object?

Is it possible to animate the vertex color of an object?
7
votes
2answers
885 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). ...
7
votes
2answers
10k 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. ...
7
votes
1answer
3k 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 ...
7
votes
1answer
4k 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.
6
votes
3answers
7k 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.
6
votes
1answer
2k 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 ...
5
votes
2answers
226 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 ...
5
votes
2answers
397 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 ...
5
votes
3answers
1k 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 ...
5
votes
4answers
789 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 ...
4
votes
1answer
612 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 ...
4
votes
2answers
540 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 ...
4
votes
1answer
170 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 ...
4
votes
1answer
830 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.) ...
4
votes
1answer
626 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 ...
4
votes
1answer
4k 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 ...
4
votes
1answer
835 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: ...
4
votes
1answer
474 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 ...
4
votes
0answers
121 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 ...
4
votes
0answers
962 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 ...
4
votes
1answer
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. ...
3
votes
1answer
7k 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 ...
3
votes
2answers
2k views

Gradient between two materials on the same mesh

I am trying to colorize a mesh for a 3d illustration, and I have been using Steven's technique so far. The problem is that, as Stephen notes at the end of his answer, the contrast between the two ...
3
votes
2answers
188 views

Best way to paint same Material with different mask?

My question is to have an alternative way if it exists. So my problem is the following: As you can see from this image, I have 2 materials, the first in the top row, uses vertex paint, so white and ...
3
votes
1answer
722 views

How to disable scene shading and view Vertex Colors only?

I'm working with an older model from another program (3DS Max) meant to be rendered in an engine running on older hardware with no dynamic lighting (Faked with shaders and vertex coloring) The model ...
3
votes
1answer
381 views

Can I use Vertex paint with volume shaders?

Simple question: Can vertex paint be used with volume shading in Cycles? When you plug the vertex-colors into any volumetric node (emission, scatter absorption) and plug the output of that node into ...
3
votes
2answers
6k views

How do I implement the color I have on vertex paint onto my faces?

I have painted my object with vertex-color on vertex-paint. How can I make the color visible in object-mode or edit-mode. Meaning, how do I implement the vertex-color onto my faces so that I can see ...
3
votes
3answers
828 views

How to invert vertex colors in Blender?

So there is no built-in functionality to invert vertex color o.O How can I invert vertex color on an active object?
3
votes
2answers
946 views

Inverting Vertex Colors?

I am using black & white vertex colors to drive some of the shading on a character model's surface material (cycles), and found that the colors were the opposite of what I needed. I wound up just ...
3
votes
1answer
3k views

How to copy vertex colors?

I duplicated an object with ShiftD several times, then painted some vertex colors on one of the duplicates. Unfortunately, I think I did this sort of backwards as I can't find a way to copy vertex ...
3
votes
1answer
323 views

Using custom vertex data in render

Can float vertex layer data added with bmesh, be used in rendering? Let us say we added some data to all verteces: bm.verts.layers.float.new('G') Can this "G" ...
3
votes
1answer
401 views

How to add a RGB Curve node

How i can add a RGB Curve node, like this example? I want to improve colors of my PLY mesh. (This screenshot is not mine, I've found in this forum.)
3
votes
1answer
115 views

Can I animate which vertices a certain material is assigned to?

What I want to achieve is to have a low-poly mesh with a certain mesh assigned to a set of vertices, and then be able to animate it to change which vertices are affected. Something like this: To ...
3
votes
2answers
4k 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....
3
votes
2answers
1k views

Use Python to add multiple colors to a NURBS curve

I have a NURBS curve which has some thickness (since I set the Bevel Object to be a circle). I have a list of RGB values specifying what color the curve should be at each point along the NURBS curve. ...
3
votes
1answer
8k 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 ...
3
votes
2answers
4k views

How to paint through all mesh during vertex painting?

Tell please how to paint all vertices, not just visible, in vertex paint mode?

1
2 3 4 5