[vtkusers] SimpleRayCast.tcl

Lisa Avila lisa.avila at kitware.com
Thu Feb 12 14:10:03 EST 2004


Hello,

Did you modify the script? The data it should be reading is unsigned char. 
It seems that you are reading a short data set, which cannot be rendered by 
the volume mappers.

Lisa

At 12:33 PM 2/12/2004, guanwen zhang wrote:

>Hello,
>
>I tried to run the example "SimpleRayCast.tcl",
>I got the following error messages, could anyone
>please help me?
>
>ERROR: In
>C:\martink\vtk42\VTK\Rendering\vtkVolumeRayCastMapper.cxx,
>line 328
>vtkOpenGLVolumeRayCastMapper (0x0A4F8528): Cannot
>volume render data of type short, only unsigned char
>or unsigned short.
>
>ERROR: In
>C:\martink\vtk42\VTK\Rendering\vtkVolumeRayCastMapper.cxx,
>line 328
>vtkOpenGLVolumeRayCastMapper (0x0A4F8528): Cannot
>volume render data of type short, only unsigned char
>or unsigned short.
>
>ERROR: In
>C:\martink\vtk42\VTK\Rendering\vtkVolumeRayCastMapper.cxx,
>line 328
>vtkOpenGLVolumeRayCastMapper (0x0A4F8528): Cannot
>volume render data of type short, only unsigned char
>or unsigned short.
>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Finance: Get your refund fast by filing online.
>http://taxes.yahoo.com/filing.html
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list