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.
62
questions
29
votes
3
answers
41k
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
1
answer
41k
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 ...
11
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, ...
9
votes
1
answer
17k
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:
<...
2
votes
1
answer
2k
views
set a specified vertex color to black via python
how to set the vertex color in the center of the mesh to black and the rest of the vertices to red via python? a lot of the answers just tell me that i can color all the vertices in one face like that:...
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 ...
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 ...
4
votes
2
answers
6k
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. ...
4
votes
1
answer
12k
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 ...
23
votes
2
answers
41k
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 ...
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 ...
9
votes
3
answers
8k
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 ...
7
votes
5
answers
14k
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.
7
votes
2
answers
1k
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).
...
5
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.)
...
3
votes
1
answer
1k
views
how to use external values as input for color ramp shader node?
All,
I've recently started dabbling in Blender to do some scientific visualization, like ParaView but 1000x prettier :)
At the moment I'm trying to tackle adding a color ramp to a 3D surface. As of ...
3
votes
2
answers
861
views
List vertex colors from a bmesh
I'm working on a custom exporter for an external software.
I need to get a list of the vertex colors from a triangulated mesh.
To get the triangulated mesh I use this code:
...
2
votes
2
answers
4k
views
Blender 2.81 doesn't seem to be importing vertex color for .ply
So people have had similar problems showing colors on .ply files here and here but I don't think this is the same case. I've exported a .ply file from a program called paraview with color info on it....
0
votes
1
answer
6k
views
How do I bake/add material colors onto my UVmap?
I looked everywhere from tutorials to documents and either they only talk about texturing or they are doing the tutorial in 'blender render' when I need it in 'cycles render'.
I have a cube that is ...
8
votes
2
answers
761
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
2
answers
19k
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.
...
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 ...
2
votes
2
answers
2k
views
How can I reset a Grease Pencil object's vertex colors?
This is my blend file. It has 2 GP objects. In object mode everything is colored correctly. If I switch from solid mode to Material preview or display render preview mode The GP Objects turn ...
2
votes
1
answer
10k
views
How to bake ambient occlusion into vertex colors?
This is frustrating for me. The UV-textures to vertex cols add-on doesn't seem to work despite the specific instructions. Any other tutorials I can find are either very old or very poor.
I'd like to ...
1
vote
1
answer
1k
views
Is it possible to set/manipulate vertex colors from geometry nodes?
Is there a way to output floats or colors into a vertex color layer from geometry nodes in Blender 3.0 or 3.1? Thanks!
1
vote
1
answer
9k
views
How to bake uv map texture to vertex color (selected to active)?
I have two mesh ! One mesh textured and one mesh no textured. How to bake uv map texture to vertex color (selected to active) ?
0
votes
1
answer
576
views
Flat shaded mesh - missing separate colours/normals for connected vertices?
I recently got started with python scripting, so I am still very new to this!
I am trying to set the vertex color of vertices looking'up' to white, otherwise set it to black.
I use a dot product to ...
0
votes
0
answers
739
views
How to convert this vertex paint into a useable material (scripted)?
I have a single, the all-in-one mesh object created and then vertex-painted with a script. I can see the colors in vertex paint mode, but I haven't been able to successfully turn it into a renderable (...
13
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 ...
8
votes
3
answers
2k
views
Smoothing vertex_colors values
I'm coloring a mesh using vertex colors:
...
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 ...
5
votes
2
answers
18k
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 ...
4
votes
1
answer
1k
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 ...
4
votes
2
answers
5k
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....
4
votes
1
answer
6k
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 ...
3
votes
2
answers
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
0
answers
393
views
Per-Face Vertex Color from Image Texture
Is it possible to convert a UV mapped image texture into per-face vertex color?
I found this script that can generate Per-face vertex color from Normals of 2.79, or an add-on Bake vertex color, but it ...
3
votes
0
answers
246
views
How to access hidden value in Uvmap (UVWT)
I got a really specific question for an expert.
I learned recently there is no such thing as Vector 2 in a graphic shader. Every Vector is in reality a Vector 4. Like vertex colors are not just Vector ...
3
votes
1
answer
856
views
Geometry Nodes: How to iterate a Vertex Color gradient across geometries?
I want the geometry I create in Geometry Nodes to be generated with a Vertex Color gradient that I can use in the object's material.
In this example there are several rectangles, one original, and ...
3
votes
0
answers
1k
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 ...
3
votes
3
answers
2k
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
1
answer
7k
views
Flat vertex painting, or face painting?
Vertex painting is far too soft for me:
I'm looking to paint something more like this (not exact, but close enough):
Instead of smooth interpolation, color interpolation should be done on a per-face ...
3
votes
1
answer
128
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
1
answer
615
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
2
answers
6k
views
Is it possible to set the vertex color alpha component?
I work in the game industry and often make shaders that rely on vertex color parameters for certain effects. This is often used to reduce shader complexity and material usage in order to improve ...
2
votes
1
answer
11k
views
How to color vertices of a cube?
I do some tests of 3D projection, I am using some references mesh like a cube. However, I need to colorize the vertices of a cube. Is it possible to do that?
2
votes
0
answers
226
views
make Blender displays vertex color of unselected faces, WITHOUT Blender's white-mix foggy mask
The below image shows the vertex color of an object.
The vertex color of left & right parts are exactly symmatric (R,G,B,Black,White).
However, if I select only right faces, the left faces will ...
2
votes
2
answers
1k
views
How to properly set VERTEX_PAINT mode from a python script?
My goal is to get a rendered image of an PLY mesh from command line.
I wrote this script:
...
2
votes
2
answers
463
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 ...
2
votes
1
answer
28k
views
Color not showing up and neither is the option
I am using Blender 2.69, (I am unable to upgrade at this time) and I am trying to color my model using the Vertex Paint mode, but it won't show up in the final render. I know that you have to enable ...