[vtkusers] Rendering a binary image
anast.jm at pg.com
anast.jm at pg.com
Wed Jan 7 11:04:19 EST 2004
Derin,
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.
...john
derin babacan <derinbabacan at yahoo.com>
Sent by: vtkusers-admin at vtk.org
01/07/2004 07:25 AM
To: vtkusers at vtk.org
cc: (bcc: John Anast-JM/PGI)
Subject: [vtkusers] Rendering a binary image
Hi,
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.
Thanks in advance.
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040107/ff8a75c4/attachment.htm>
More information about the vtkusers
mailing list