I have found a way to get the color value for each vertex position of a mesh element. I took average of color values of all elements adjacent to a vertex as color of that vertex.
Now i have color value for each vertex in mesh element.
- Can it be done that i subdivide/tesselate these Hexahedron elements into small cuboids
and interpolate these colors to cuboids vertices and get volume plot of these cuboids and then stitch together ? My mesh has these two types of many Hexahedrons.
forelement(g,1)
forelement(g,2)