[Paraview] Volume rendering RGBA data in Paraview

David Pont David.Pont at scionresearch.com
Tue Jul 27 19:55:04 EDT 2010


I would like to volume render RGBA data derived from digital photographs of serial slices through an object. I found reference on the vtkusers list of this being supported in vtk (vtkFixedPointVolumeRayCastMapper or vtkVolumeTextureMapper3D). I created a legacy vtk file with data represented as STRUCTURED_POINTS. Here is the top of the file:

# vtk DataFile Version 2.0
TreeVol
ASCII
DATASET STRUCTURED_POINTS
DIMENSIONS 1023 1023 10
SPACING    1 1 10
ORIGIN     0 0 0
POINT_DATA 10465290
SCALARS DiscRGBA unsigned_char 4
LOOKUP_TABLE default
255 254 236 0
255 254 236 0
255 254 236 0
255 254 236 0
255 254 236 0
255 254 236 0
255 254 236 0
255 254 236 0
255 254 236 0
255 254 236 0

The file loads without errors, selecting Representation = Slice, Map Scalars = Off shows a single slice in correct RGBA.
But when I select Representation = Volume I get the following error:

Cannot volume render since no point (or cell) data available.

What am I doing wrong? Is volume rendering of RGBA not supported in Paraview? Although I see the Volume Mapper box (greyed out) says Fixed point which indicates vtkFixedPointVolumeRayCastMapper which I understood would handle RGBA. Or is my file format wrong?

regards, Dave

Disclaimer: This e-mail and any attachments may contain information which is confidential or subject to copyright. If you receive this e-mail in error, please delete it.
Scion does not accept responsibility for anything in this e-mail which is not provided in the  course of Scion's usual business or for any computer virus, data corruption, interference or delay arising from this e-mail.


More information about the ParaView mailing list