[vtkusers] starting Help

Hugo Valdebenito hugo at maptek.cl
Wed Sep 29 15:09:59 EDT 2010


The function is simple:

z = Zmax * Sin ((12.4 * x) / Nx ) +  (4 * y) / Ny

Mesh Nx * Ny ;   0< x <= Nx   and  0< y <= Ny
x and y integers

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/20100929/28b1dfe1/attachment.htm>


More information about the vtkusers mailing list