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.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to