Linked Questions
13 questions linked to/from How can I set and get the vertex color property?
1
vote
2
answers
311
views
Scripting alternative to editing colour based on vertex coordinates using Nodes editor
I am trying to add colour to a mesh object where the colour varies based on the z location of each vertex (similar to a heat map). I am able to do so using the nodes editor (cycles render)
into
...
0
votes
2
answers
2k
views
Vertex Paint For Multiple Objects in Blender 2.8
How can I set my favorite color to all of the selected objects?
I can't attach my objects not at all.
The number of objects is high and I can not adjust their color vertex one by one.
Sorry for my bad ...
3
votes
1
answer
659
views
Is there a Blender api to fill a color to a certain vertex_colors?
Taking a cue from this question, I'm testing to make a one-color fill to a vertex_colors.
Works fine, but is very slow on meshes with many polygons.
...
2
votes
1
answer
2k
views
Vertices—loop indices vs. unique indices
I need to set the colors of vertices from data generated by third-party simulation. To do this, I need to access the vertices by their unique indices with the Python API.
I can do this with ...
1
vote
1
answer
811
views
Color each face of a mesh with a colormap gradient depending on external data
Motivation: Post-process a finite element solver answer file (in my case FEMM).
I'm creating a mesh with Python with the following code (well, my actual code is a bit more complex, but it doesn't ...
0
votes
1
answer
407
views
How to interpolate vertex colors in a cube?
I have this model made out of cubes:
And I want to set the white cube some vertex colors, which correspond to the vertex's surrounding cube/cubes and interpolate between them. Note that this cube ...
0
votes
1
answer
229
views
Selecting a new material slot to selected vertices
I have a few vertices selected and would like to change the colour of those vertices with Python script. This means adding a new material slot.
I have tried this script, however it changes all the ...
2
votes
0
answers
599
views
How to color line set with vertex colors?
I would like to use vertex colors to paint an extruded line set but do not succeed to do it.
In detail, I export a scene in X3D format from paraview. It consist of a panels and lines that are colored ...
1
vote
0
answers
19
views
How to color or overlay on vertices via the Python api? [duplicate]
For a plugin I am making, I need to highlight the vertices that the user hovers over. I could not work out this color assignment part yet. I have tried methods then found out they were obsolete. I ...
1
vote
0
answers
324
views
How to Visualize Temperature data usign color map
I have a simple plane (in x,y cordinates) with 25 vertices. I have temperature data of each vertex of the plane.
Now, I want to apply this temperature data onto plane and trying to get visual ...
1
vote
0
answers
866
views
convert xyz to uv and set texture color from python
How can I transform XYZ locations into UV coordinates for a mesh? I have a mesh and a data that consists of temperatures at various XYZ values on the surface of the mesh (not vertex locations). I ...
1
vote
0
answers
418
views
Python - get RGB value from face with generated texture
I just began learning Blender Python API, not sure if what I am asking is possible. I want to write a script to distribute objects on the surface of a mesh based on RGB value of a generated texture. ...
0
votes
0
answers
648
views
Using Blender and PLY file, how to render a grayscale image with assigned intensities at each vertex?
I can programatically generate PLY files with RGB color values as attributes for each vertex, like below
...