[vtkusers] Volume Rendering errors

Randy Heiland heiland at ncsa.uiuc.edu
Tue Oct 9 06:57:20 EDT 2001


You need to vtkImageShiftScale,vtkImageCast your float data first.

--Randy

On Oct 8,  8:59pm, Gala'Vi and Liss @ Mainframe Country wrote:
> Subject: [vtkusers] Volume Rendering errors
>
> I have a float dataset and I would like to volume render it, but when I
> try to use the code from examples, I get this:
>
> ERROR: In vtkVolumeRayCastMapper.cxx, line 910
> vtkVolumeRayCastMapper (0x105bdaf0): The scalar data type: 10 is not
> supported when volume rendering. Please convert the  data to unsigned char
> or unsigned short.
>
> Does this mean that it's impossible to volume-render float datasets?
> The dataset is structured points and contains IEEE float 16-bit data.
>
> Please help.
>
> -- Gala Wind




More information about the vtkusers mailing list