<div dir="ltr"><div><div>Can you post a small, compilable example that illustrate the problem? I wrote the original subdivisiojn code years ago. I'm surprised to see these difference. Looks like you have found a bug.<br>
<br></div>Thanks,<br><br></div>Bill<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 19, 2013 at 7:32 AM, Divya <span dir="ltr"><<a href="mailto:divya@triassicsolutions.com" target="_blank">divya@triassicsolutions.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<br>
Dear All,<br>
<br>
These are the various results that i get after adding color to a
cylinder polydata and passing it through the subdivision filters. I
am adding colors to each of the points of a cylinder polydata using
'<i>colors.InsertTuple3</i>' function where <i>colors </i>is an <i>vtkUnsignedCharArray</i>.
But once I pass it through these subdivision filters, the
vtkLinearSubdivisionFilter and vtkLoopSubdivisionFilter shows an
even color pattern but vtkButterflySubdivisionFilter displays an
unexpected pattern with colors that were not specified(I'm adding
only red, yellow and blue- but vtkButterflySubdivisionFilter shows <i>green</i>!!).
How can this be? Is there something that I am missing. Please help!<br>
<br>
I need to use the vtkButterflySubdivisionFilter - as it gives more
accurate shape to my actual point set.<br>
<br>
<img src="cid:part1.02000006.02040105@triassicsolutions.com" alt=""><br>
<br>
Thanks in advance.<span class="HOEnZb"><font color="#888888"><br>
<font color="#262626" face="calibri,sans serif,arial"><span style="line-height:100%"><font color="#262626" face="calibri,sans serif,arial"><font color="#5C83B4"><b>DIVYA</b></font></font></span></font><br>
<div><br>
<font color="#262626" face="calibri,sans serif,arial">
<div><br>
</div>
</font></div>
</font></span></div>
<br>_______________________________________________<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/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_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/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>