[vtkusers] Generate triangulation from vertex and index info
Hugo Valdebenito
hugo at maptek.cl
Thu Sep 30 10:13:28 EDT 2010
Hi all
With the delaunay2D (3D) schema, the distribution of triangles is not the
same, depending of the input points order. If I already have the vetex and
index definitions for the triangles, how can I make the triangulation?
Hugo
2010/9/29 David Doria <daviddoria at gmail.com>
> On Wed, Sep 29, 2010 at 12:57 PM, Hugo Valdebenito <hugo at maptek.cl> wrote:
>
>> Hi David
>>
>> Thanks for you reply, I'm trying to make a 3D triangulation using a
>> surface function (depend of X and Y) using a regular mesh for x and y, my
>> idea is to generate big amount of points (or triangles) and generate a
>> triangulation. I'm comparing VTK with Open Inventor engine.
>>
>> Hugo
>>
>>
> This may be what you're looking for:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/TriangulateTerrainMap
>
> vtkDelaunay2D projects the points on to the XY plane before performing the
> triangulation, so you can give it your points (which are a function of x and
> y) and it will produce a nice result.
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100930/413044a2/attachment.htm>
More information about the vtkusers
mailing list