I am making a simulation with blender,
I would like to draw a sphere with different colors at different vertex.
here is the code for python:
for count in range(0, len(linesphere)):
me = NMesh.GetRaw()
mat = Material.New(‘Material’)
mat.rgbCol = [float(line[count])/100, float(line[count])/100, float(line[count])/100]
pos = linesphere[count].split(’, ')
vert = NMesh.Vert(float(pos), float(pos), float(pos))
Since there is only vertex, that is, there is no face.
how could I get this through?
THANK YOU VERY MUCH:confused: