[vtkusers] Uneven colors after the vtkButterflySubdivisionFilter

Bill Lorensen bill.lorensen at gmail.com
Fri Apr 19 13:05:23 EDT 2013


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.

Thanks,

Bill



On Fri, Apr 19, 2013 at 7:32 AM, Divya <divya at triassicsolutions.com> wrote:

>
> Dear All,
>
> 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 '*colors.InsertTuple3*'
> function where *colors *is an *vtkUnsignedCharArray*. 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 *green*!!).  How can this be? Is
> there something that I am missing. Please help!
>
> I need to use the vtkButterflySubdivisionFilter - as it gives more
> accurate shape to my actual point set.
>
>
>
> Thanks in advance.
> *DIVYA*
>
>
>
> _______________________________________________
> 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
>
>


-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130419/669b12f7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 197023 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130419/669b12f7/attachment.png>


More information about the vtkusers mailing list