[vtkusers] Coloring polydata with scalars

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Fri Jan 10 20:09:52 EST 2003


hi,

>>>>> "Mdl" == "Mdl" <mdl78 at libero.it> writes:

    Mdl> Hi everybody, I'm trying to display a sphere colored
    Mdl> according to scalar attributes I assign to its points; I
    Mdl> can't see anything wrong in the code, but it doesn't
    Mdl> work... here it is:

Try adding a line that reads:

 m->ScalarVisibilityOn();

cheers,
prabhu



More information about the vtkusers mailing list