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
21
votes
1answer
25k 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 ...
19
votes
2answers
25k 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 ...
19
votes
3answers
22k 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 ...
13
votes
2answers
1k 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 ...
11
votes
1answer
371 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 ...
11
votes
3answers
7k 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 ...
9
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 ...
8
votes
2answers
179 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
7k 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
687 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
691 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
8k 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. ...
6
votes
2answers
5k 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
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.
5
votes
2answers
249 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
2answers
9k 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, ...
5
votes
1answer
736 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 ...
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
718 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
2answers
514 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
152 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
504 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
762 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
453 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
1answer
1k 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
2answers
1k 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
1answer
642 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
317 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
646 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
1answer
2k 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
234 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
1k 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 ...
3
votes
1answer
374 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
114 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
818 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
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
4k 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
1answer
532 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.) ...
3
votes
2answers
3k views

How to paint through all mesh during vertex painting?

Tell please how to paint all vertices, not just visible, in vertex paint mode?
3
votes
1answer
1k 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 ...
3
votes
1answer
1k views

Vertex paint mode shaded view in cycles

When in vertex paint mode - the object being painted is displayed as shadeless. This makes painting on a complex model difficult - as you cannot really see what you are doing. You can use dirty vertex ...
3
votes
0answers
132 views

How to import Alembic Vertex Colors from Houdini correctly?

I've exported a simple scene from houdini with a few geometries, and written into the vertex colors, Cd, for each mesh a different gray value like: (.1,.1,.1)(.2,.2,.2) ... etc When I import this ...
3
votes
0answers
69 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 ...
3
votes
0answers
731 views

Colouring hair with vertex paint [closed]

Is it possible to get a vertex paint layer into a cycles hair material, when the hairs are emitted from vertices? Here is a vertex paint layer working for the emitter, but the hair strands don't get ...
2
votes
1answer
3k 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 ...
2
votes
2answers
3k 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. ...