[vtkusers] Gouraud interpolation, vtkUnstructedGrid

Matthieu Chabanas Matthieu.Chabanas at imag.fr
Tue Jun 11 14:04:23 EDT 2002


I would like to render a vtkUnstructuredGrid (composed of hexaedrons and
wedges) with Gouraud interpolation instead of flat faces to enhance the
rendering aspect.

I have changed my actor property (with
GetProperty()->SetInterpolationToGouraud()), but the aspect is exactly
the same as in flat interpolation mode. (I have the same behaviour with
Phong as well, nothing is changed).
Do I have to compute normals first? In that case, how to do it?

Thanks for any help
Matt



More information about the vtkusers mailing list