[vtkusers] Uneven colors after the vtkButterflySubdivisionFilter
Bill Lorensen
bill.lorensen at gmail.com
Sun Apr 21 11:45:19 EDT 2013
Found the problem.
You want to set the point data, but your colors array is filled for
NumberOfPolys. Replace NumberOfPolys with NumberOfPoints and the results
look good.
On Sun, Apr 21, 2013 at 10:43 AM, DivyaS <div.anand141 at gmail.com> wrote:
> Bill,
>
> Butterfly subdivision gives me better results(shape) to the actual data i'm
> working on. Is there no other way we can get this working? you were talking
> about assigned scalar float, single component values, I would like to give
> it a try.. could you please give me some details on that.
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Uneven-colors-after-the-vtkButterflySubdivisionFilter-tp5720205p5720244.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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/20130421/91dc8a82/attachment.htm>
More information about the vtkusers
mailing list