[vtkusers] Coloring Voxels

Juan José Aja Fernández juan.aja at gmail.com
Fri Feb 3 19:28:23 EST 2006


Hi, everyone:

I believe I have a simple question:

I need to use Volume Rendering on an unstructured grid made out of voxels,
and I want to color them and set their transparency (by doing something like
vtkVoxel->SetOpaque(1, 0, 1, 0.3)).
The problem is that I have a very large number of voxels (> 25 000 ) so
using a ColorTransferFunction is out of the question (if there is a way to
use a CTF to color each voxel individually, please let me know).

I guess I need to assign an actor to each element but I have no clue as to
which data mapper recieves a vtkVoxel as input. Is this the
correct/reasonable approach?

if not, how can this be accomplished?

Cheers,

Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060203/f3ef4e12/attachment.htm>


More information about the vtkusers mailing list