<DIV>Hello Fabiol,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I just finished that last week.</DIV>
<DIV>&nbsp;</DIV>
<DIV>First of all, use a vtkClipPolyData to clip the part on which you want to map texture, and manipulate it with a new mapper and an actor.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Do make sure the unselected part has texture coordinates too, if it doesn't have, set its texture coordinates to zero</DIV>
<DIV>&nbsp;</DIV>
<DIV>Finally, use vtkAppendPolyData to merge the two parts together</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Cheers,</DIV>
<DIV>Qiang<BR><BR><B><I>fabio depascalis &lt;fabio.depascalis@gmail.com&gt;</I></B> 写道:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi<BR><BR>I have a polydata object describing my model and a tiff-file to<BR>describe the texture for it;<BR>I want the texture cover only a part of my polydata, and i know that<BR>all the points of the dataset must have TCoords;<BR>so how set the tcoords for the polydata points on which i don't want<BR>map the image?<BR><BR><BR>Thanks<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/?id=77072" target=blank> 
雅虎免费G邮箱-中国最强免费防毒反垃圾超大邮箱</a>