<p>Are the last two polygons concave?</p>
<div class="gmail_quote">On Jun 30, 2012 5:58 AM, "Alex Southern" <<a href="mailto:mrapsouthern@gmail.com">mrapsouthern@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Iver been looking at this for a couple of hours and I just cant find the probelm.<br>
What is wrong with this geometry definition?<br>
<br>
The last 2 polygons do not show up correctly, they produce the desired polygon plus some additional unwanted planes, that flicker as you rotate the model. The problem must be in this definition as it also occurs in Paraview.<br>
<br>
Any help, have i got the format wrong or something?<br>
<br>
Thanks<br>
A.<br>
<br>
# vtk DataFile Version 3.0<br>
my VTK file<br>
ASCII<br>
DATASET POLYDATA<br>
POINTS 16 float<br>
4.000000 3.000000 3.000000<br>
4.000000 0.000000 3.000000<br>
4.000000 0.000000 0.000000<br>
4.000000 3.000000 0.000000<br>
6.000000 3.000000 0.000000<br>
6.000000 7.000000 0.000000<br>
6.000000 7.000000 3.000000<br>
6.000000 3.000000 3.000000<br>
3.000000 7.000000 0.000000<br>
3.000000 7.000000 3.000000<br>
3.000000 4.000000 0.000000<br>
3.000000 4.000000 3.000000<br>
0.000000 4.000000 0.000000<br>
0.000000 4.000000 3.000000<br>
0.000000 0.000000 0.000000<br>
0.000000 0.000000 3.000000<br>
POLYGONS 10 58<br>
4 0 1 2 3<br>
4 4 5 6 7<br>
4 5 8 9 6<br>
4 8 10 11 9<br>
4 10 12 13 11<br>
4 12 14 15 13<br>
4 15 14 2 1<br>
4 0 3 4 7<br>
8 4 3 2 14 12 10 8 5<br>
8 6 9 11 13 15 1 0 7<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_<u></u>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/<u></u>listinfo/vtkusers</a><br>
</blockquote></div>