[vtkusers] Smoother surfaces after Marching Cubes-- vertex normals

vidyadhar vidyadhar at lucidindia.net
Thu Aug 25 23:17:29 EDT 2005


Hi,
How about using vtkCellDataToPointData filter?
Vidyadhar
----- Original Message -----
From: "Jim Carroll" <jim at microbrightfield.com>
To: <vtkusers at public.kitware.com>
Sent: Thursday, August 25, 2005 8:47 PM
Subject: [vtkusers] Smoother surfaces after Marching Cubes-- vertex normals


>
> Hi,
>
> I'm using Marching cubes, and when I render I can't figure out how to get
one
> normal per vertex, instead of one normal per triangle.
>
> Ideally the direction of the normal for a vertex would be the average of
the
> normals of all the triangles that share that vertx.
>
> Can VTK do this for me?
>
> There's a good example of how the appearance changes at the bottom of this
page:
>    http://astronomy.swin.edu.au/~pbourke/modelling/polygonise/
>
> Thanks,
> -Jim
>
>
>




More information about the vtkusers mailing list