[vtkusers] vtkLineSource and colouring

mtk mtk at u.washington.edu
Mon Nov 26 16:03:21 EST 2001


Hi all,
I want to make a poly line with only two segments and color each segment
individually.
Right now I'm using two line source objects and I map them individually to a
mapper.
However, is it possible to use one linesource object, and then setting the
resolution to 2, and finally color each segment individually? If that's
possible I would be glad to see how.

regards
/totte





More information about the vtkusers mailing list