<DIV>Hello Jens,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Try using</DIV>
<DIV>vtkPolyData-&gt;GetPointData()-&gt;SetScalars()<BR>vtkMapper-&gt;ScalarVisibilityOn()<BR><BR><B><I>Jens Ivar J鴕dre &lt;jensivar@fmri.no&gt;</I></B> 写道:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Howdy.<BR><BR>Here comes a question from someone who quite recently started using VTK <BR>4.2 on Windows XP. So far I've used VTK to visualize a tessellated <BR>surface of the brain reconstructed from MR images.<BR><BR>I then want to move on to color the surface in grey tones according to <BR>voxel intensities of the surface points. I first tried to use vtkTexture <BR>to load a (3D) vtkImageData filled with voxel intensities from the MR <BR>image volume. However, since vtkTexture only supports 2D texture maps I <BR>had to give up this effort.<BR><BR>Then I've tried to assign texture coordinates to the points that define <BR>the tessellated surface, but I see no effect on the surface rendered. <BR>Does anyone have some example for me to look at? I don't find relevant <BR>suggestions in the examples shipped with VTK.<BR><BR>Kind regards<BR>Jens Ivar
 J鴕dre<BR><BR>_______________________________________________<BR>This is the private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>Follow this link to subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR></BLOCKQUOTE><p>
                <hr size=1>DO YOU YAHOO!?<br> 
<a href="http://cn.mail.yahoo.com" target=blank> 
欢迎使用雅虎超大容量免费邮箱</a>