[vtkusers] How to create triangle strips?

Hugo Valdebenito hugo at maptek.cl
Fri Nov 19 14:39:42 EST 2010


Anyone can help me please?
:(
---------- Forwarded message ----------
From: Hugo Valdebenito <hugo at maptek.cl>
Date: 2010/11/19
Subject: [vtkusers] How to create triangle strips?
To: VTK Mailing List <vtkusers at vtk.org>



Hi all,

Someone can help me to understand how to create a triangle strips on VTK.

for example on the follow mesh:

0 ------ 3 ------- 6
 |   /    |     /    |
1 ------ 4 ------- 7
 |   /    |    /     |
2 ------ 5 ------- 8


And then I can define for example the follow triangle strips:

Strip1:  0 - 1 - 3 - 4 - 6 - 7
Strip2.  1 - 2 - 4 - 5 - 7 - 8

I need to define a 3D mesh by triangle strips on VTK like as example and
show it?

I found no clear examples :(

Please, someone can give me an example to use vtk and show that simple
example?


Hugo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101119/a4ab4f91/attachment.htm>


More information about the vtkusers mailing list