Set the material for each particle from a one dimensional vtk array. Each value is transformed to an RGB map (refs #2)