[vtkusers] Smoothing
Ted Vu
lost_bits1110 at hotmail.com
Wed Feb 25 11:11:19 EST 2004
so instead of doing
Mapper->SetScalarModeToUseCellData();
myPolyData->GetCellData()->SetScalars(myFloatArray);
I should do
myPolyData->GetPointData()->SetScalars(myFloatArray);
??
But won't I just see a bunch of particles then? i.e. a bunch of colored
dots?? How do I get it to interpolate between teh dots and fill in the
whole polydata?
>From: Hank Childs <childs3 at llnl.gov>
>Reply-To: childs3 at llnl.gov
>To: "Ted Vu" <lost_bits1110 at hotmail.com>
>Subject: Re: [vtkusers] Smoothing
>Date: Wed, 25 Feb 2004 07:58:21 -0800
>
>
> > So how can I sort of 'blur' all these parallelograms so it doesnt look
>so
> > pixelated?
>
>VTK will interpret "cell" data as a constant value over the whole polygon.
>If you give it "point" data instead, it will interpolate the values at the
>points across a polygon, giving a smoother look. I think you shouldn't
>need
>to apply a smoothing filter.
>
>Best,
>Hank
>--
>________________________________________________________________
>
>Hank Childs
>VisIt/MeshTV
>Lawrence Livermore National Laboratory
>
>phone: (925) 422-4035
>email: childs3 at llnl.gov
_________________________________________________________________
Dream of owning a home? Find out how in the First-time Home Buying Guide.
http://special.msn.com/home/firsthome.armx
More information about the vtkusers
mailing list