<br><font size=2 face="sans-serif">Derin,</font>
<br>
<br><font size=2 face="sans-serif">I think you could avoid surfacing your data and render it directly using any of the Volume Mappers. The idea would be to invert the opacity ramp so black points would be opaque and white points transparent, then adjust the TransferFunction to color the black points to some color that would contrast against the background. I think this will work better if your points are scattered and not connected in any way. For examples of volume rendering see VTK/Examples/VolumeRendering/TCL or /Python.</font>
<br>
<br><font size=2 face="sans-serif">...john</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>derin babacan <derinbabacan@yahoo.com></b></font>
<br><font size=1 face="sans-serif">Sent by: vtkusers-admin@vtk.org</font>
<p><font size=1 face="sans-serif">01/07/2004 07:25 AM</font>
<br>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To: vtkusers@vtk.org</font>
<br><font size=1 face="sans-serif"> cc: (bcc: John Anast-JM/PGI)</font>
<br><font size=1 face="sans-serif"> Subject: [vtkusers] Rendering a binary image</font></table>
<br>
<br>
<br><font size=3 face="Times New Roman">Hi,</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman">I have a binary image of size 51x51x51 and want to render the black voxels in it. I tried the contour filter but all I have was some odd points in the render window. Is there a simple way to do the rendering? I'm very new in VTK and don't know how to do that.</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman">Thanks in advance. </font>
<p>
<hr><font size=3 face="Times New Roman">Do you Yahoo!?<br>
Yahoo! Hotjobs: </font><a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus"><font size=3 color=blue face="Times New Roman"><u>Enter the "Signing Bonus" Sweepstakes</u></font></a>
<p>
<p>