[vtkusers] volume rendering fields

peterm madapeti at gmail.com
Wed Sep 14 08:49:30 EDT 2011


Dear all,

I have a vtkUnstructuredGrid with 2 fields in it. I would like to run a
vtkUnstructuredGridVolumeRayCastMapper to create volume renderings however I
get an error message "Can't use the ray cast mapper without scalars!" when
calling the Render() function.

My question is in what way I have to transform the vtkUnstructuredGrid so
that the scalar fields are transformed to the appropriate format used by
vtkUnstructuredGridVolumeRayCastMapper?

Thanks,
Peter




--
View this message in context: http://vtk.1045678.n5.nabble.com/volume-rendering-fields-tp4802631p4802631.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list