<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Since I never got a response on the users list, I'll try the dev list.<div><br></div><div>thanks, Randy<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Randy Heiland <<a href="mailto:heiland@indiana.edu">heiland@indiana.edu</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>[vtkusers] coloring vtkDiscreteMarchingCubes</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">November 3, 2011 11:43:12 AM EDT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br></span></div><br><div>Hi all,<br><br>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.<br><br>I've put a simple dataset and Python script here (near the bottom):  <a href="http://old.compucell3d.org/mediawiki1.7/index.php/Vtk_contours_3D">http://old.compucell3d.org/mediawiki1.7/index.php/Vtk_contours_3D</a><br><br>and built VTK from git a couple months ago:<br>In [3]: vtk.vtkVersion.GetVTKVersion()<br>Out[3]: '5.9.0'<br><br><br>thanks, Randy <br><br></div></blockquote></div><br></div></body></html>