Preserve the color of a vtkPolyData after it is split by vtkOBBDicer
This post was updated on .
I am trying to implement isosurface visualisation in Unity using VTK.
Since Unity mesh's number of vertices is limited to 65553, a large surface needs to be split up into smaller chunks.
I used vtkOBBDicer, vtkThreshold, and vtkGeometryFilter to spit and extract the polydata.
However, the resulting polydata from the extraction process lost the color array element.
Is there any solution to split up the vtkPolyData and keep the color accordingly?
Thank you in advance.
This is the method I use to return the vtkPolyData chunks (it uses Activiz C# wrapper).