[vtkusers] problem with isosurface and colors
stefano mininel
mininel.ml at gnbts.univ.trieste.it
Tue Jul 23 02:27:12 EDT 2002
I admit I didn't check your code, but ... might this be due to interpolation of pixel colors
between the vertex points of the isosurface polydata?
Try with:
"
myActor->GetProperty()->SetInterpolationToFlat();
"
I hope this can help.
Bye.
Stefano Mininel
Julia Faurie wrote:
> hi!
> i have an isosurface and i want to assign a color to each point of the
> isosurface according to his coordinates (the three coordinates are the
> red green blue components)
> So i used a look up table (in my vtk file i associated scalars value to
> each point, and the data is an colors histogram so every point has a
> different scalar value)
> I get an isosurface with rights colors but there are some blobs on the
> surface which have wrong colors and i can't find why...
> So if anyone knows what i'm doing wrong or if anyone knows a easier way
> to do that...
> thanks
... (clip)
More information about the vtkusers
mailing list