[vtkusers] Problem coloring the Iron Protein sample dataset
William R Sherman
wsherman at ncsa.uiuc.edu
Thu Nov 6 02:01:31 EST 2003
> From prabhu at aero.iitm.ernet.in Thu Nov 6 00:25:39 2003
>
> That is because ironProt.vtk has its point data attributes stored as
> unsigned_chars. These are interpreted by default as colors and not
> scalars. To work around this try adding something like this to all
> your mappers:
>
> isoMapper SetColorModeToMapScalars
Aha! Very good. This does indeed solve my problem -- well my VTK
problem anyway.
> cheers,
> prabhu
Thank you Prabhu,
Bill
More information about the vtkusers
mailing list