[vtkusers] problem with constrained Delaunay2D triangulation

R T doctorart at hotmail.com
Mon Aug 19 22:40:35 EDT 2002


Hi Alex,

How do you feed triangles to OpenGL for rendering?
is some example code available for download?
I have a lot of problems
with VTK Render engine ---- so slooow.

if you  use

vtkSurfaceReconstructionFilter  sf
  sf SetInput myPolyDataObject

you have to

vtkContourFilter cf
   cf  SetInput [sf GetOutput]

of course it's slower than just Delaunay


best,
Roma


>From: "Alexander Smondyrev" <smondyrev at yahoo.com>
>To: "R T" <doctorart at hotmail.com>
>Subject: Re: [vtkusers] problem with constrained Delaunay2D triangulation
>Date: Sat, 17 Aug 2002 14:22:34 -0400
>
>    Hi, Roma,
>
>Thank you for your reply. I did find out what was causing my problems. The
>main reason is that there was a problem with the data set, mainly due to 
>the
>applied constraints.
>
> >
> > I 've been just wondering why are u using
> > Delaunay triangulation?
> >
>
>I am actually trying to find a better way since points that I need to
>triangulate are restricted to a surface of a sphere. Not a complete sphere
>though, but the one cut by a number of planes. Are you aware of any way to
>do this by any chance?
>
> > If you use UnstructuredGrid instead of PolyData
> > and vtkDatasetMapper, you could just display
> > your lines and points
> >
>
>I need to get triangles since these are fed into OpenGL and my dataset
>contains only points and some lines. That is how the application I am
>working on is designed. VTK seemed to be a good tool at the moment to get 
>it
>done without coding own triangulation routines.
>
> > Have you tried SurfaceReconstructionFilter?
> > (if you need a surface to be reconstructed
> > and you know all of your points belong
> > to the surface you want)
> >
>
>I haven't tried it. I did take a look at the documentation, but it seemed 
>to
>me that it may not work well for my case. I will take another look when I
>get a chance. Thanks for your advise.
>
>     With best regards,
>
>     Alex.
>




_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




More information about the vtkusers mailing list