[prev in list] [next in list] [prev in thread] [next in thread]
List: vtkusers
Subject: Re: [vtkusers] starting Help
From: Hugo Valdebenito <hugo () maptek ! cl>
Date: 2010-09-29 19:09:59
Message-ID: AANLkTinOxan8n-KGj0fPby2kv30smAJzh893NwVTDWc0 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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@gmail.com>
> On Wed, Sep 29, 2010 at 12:57 PM, Hugo Valdebenito <hugo@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
>
[Attachment #5 (text/html)]
The function is simple:<br><br>z = Zmax * Sin ((12.4 * x) / Nx ) + (4 * y) / \
Ny<br><br>Mesh Nx * Ny ; 0< x <= Nx and 0< y <= Ny<br>x and y \
integers<br><br>Hugo<br><br><div class="gmail_quote">2010/9/29 David Doria <span \
dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px \
solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote"><div \
class="im">On Wed, Sep 29, 2010 at 12:57 PM, Hugo Valdebenito <span dir="ltr"><<a \
href="mailto:hugo@maptek.cl" target="_blank">hugo@maptek.cl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px \
solid rgb(204, 204, 204); padding-left: 1ex;">Hi David<br><br>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. <br>
<br>Hugo<br><br></blockquote><div><br></div></div><div>This may be what you're \
looking for: </div><a \
href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/TriangulateTerrainMap" \
target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/TriangulateTerrainMap</a></div>
<div class="gmail_quote"><br><div>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.</div>
<div><br></div><font color="#888888"><div>David </div></font></div>
</blockquote></div><br>
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic