[vtkusers] Improving 3D surface
Bill Lorensen
wlorens1 at nycap.rr.com
Sun Mar 2 13:27:37 EST 2003
1) You could use vtkImageMagnify on the scalars. Make sure you turn interpolation on. You apply this filter to your scalars.
2) You could use vtkLoopSubidivisionFilter to generate a subdivision surface. This filter requires triangles. You would apply this to either the output of the PlaneSource of the WarpScalar.
At 06:51 PM 3/2/03 +0100, Mdl wrote:
>Hi everybody,
>
>I have 24*30 scalars arranged in a rectangular grid.
>What I am doing now is to display a surface, obtained via a
>vtkPlaneSource warped with vtkWarpScalar; I assign the scalars with a
>...->GetPointData()->SetScalars(--).
>
>The problem is that I would like the surface to be smoother, because now I
>get too hard edges between adjacent polys.
>The surface I get now is too coarse.
>(Notice that vtkSmoothPolyDataFilter is not what I need, since it modifies
>the points...)
>
>Should I increase the resolution of the plane?
>Is there a way to get a smooth surface interpolating a given set of points?
>Will use of vtkElevationFilter or vtkSurfaceReconstructionFilter help me?
>
>Many thanks,
>Marco
>
>
>
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list