[vtkusers] coloring vtkDiscreteMarchingCubes
Randy Heiland
heiland at indiana.edu
Thu Nov 3 11:43:12 EDT 2011
Hi all,
I'm puzzled by the following: if I extract a surface from a 3D dataset using vtkContourFilter, I can color it according to a different scalar field; however, if I use vtkDiscreteMarchingCubes, my same pipeline doesn't color it.
I've put a simple dataset and Python script here (near the bottom): http://old.compucell3d.org/mediawiki1.7/index.php/Vtk_contours_3D
and built VTK from git a couple months ago:
In [3]: vtk.vtkVersion.GetVTKVersion()
Out[3]: '5.9.0'
thanks, Randy
More information about the vtkusers
mailing list