Andrew, I may have missed something in the discussion, but you typically do not want to set colors via SetVectors as you mentioned ( p->GetPointData()->SetVectors(rgb); )
My understanding is that whatever is set with SetVectors will be transformed when the data set is transformed. I.e. if you rotate the data set, the colors will change (not typically what you'd want). I think you should prefer p->GetPointData()->SetScalars(rgb); David _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview