<DIV>Hello,</DIV>
<DIV>SetColorModeToMapScalars was missing thank you very much. Now it does something. But not really what I hope. Cells wich are near a transparent cell are not fully draw. My object is open and I can see its inside, and it is not so fast.&nbsp;I am disappointed.</DIV>
<DIV>Thanks for your help.</DIV>
<DIV><BR><B><I>HIRAKI Hideaki &lt;hhiraki@lab.nig.ac.jp&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">REGAT-BARREL Aurélien <ARBVTK@YAHOO.FR>wrote:<BR>&gt; Hello everybody,<BR>&gt; I am still trying to blank zero-value points in my vtkStrcuturedPoints. I have done it via a vtkThreshold filter but it generate a new DataSet and it is very slow.<BR>&gt; So I have tried to change black points opacity in the lookuptable build by the mapper but it fails.<BR>&gt; Here is the interesting code :<BR>&gt; <BR>&gt; mapper = vtkDataSetMapper()<BR>&gt; mapper.SetInput( cloud )<BR>&gt; mapper.SetScalarRange( cloud.GetScalarRange() )<BR>&gt; lut = mapper.GetLookupTable()<BR>&gt; lut.Build()<BR>&gt; lut.SetTableValue( 0, 0, 0, 0, 0 )<BR>&gt; <BR>&gt; It does nothing, why ?<BR><BR>mapper.SetColorModeToMapScalars() seems missing.<BR>If your data is vtkStructuredPoints, volume rendering <BR>may fit more for your need.<BR><BR>Regards,<BR><BR>Hideaki Hiraki</BLOCKQUOTE><p>
                <hr size=1>
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
<br><a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.benefits.yahoo.com/">Créez votre Yahoo! Mail</a>