[vtkusers] transparency of cubes in voxel data (structured points)
Marc Niethammer
marcn at ece.gatech.edu
Thu Jan 3 09:48:52 EST 2002
Hi John,
thanks for the information. The problem is though that whenever I try
volume rendering or any other operation on my structured points I get an
error message telling me that there is no data available (even though
GetNumberOfScalars() gives back the "correct" value).
Is that a problem in the way I construct my structured points (with
SetScalar and [sPts GetCellData] SetScalars sc)? (that's the way the
examples for vtkStructuredPoints worked I looked at).
Any ideas?
Thanks.
-- Marc
> I've not seen volume rendering done this way but there may still be a way to get
> it to work...i'm just not sure how. However, there are many examples of volume
> rendering in the vtk package, most use volume mappers and the color and opacity
> transfer functions. Attached is a very simple volren example that should point
> you in the right direction. (See attached file: volSimple.tcl)There are many
> more. This is how I've handled all my voxel data.
>
> ...john
>
More information about the vtkusers
mailing list