[vtkusers] Volume Rendering - Using different scalars for opacity and color transfer function

Taha Ceritli t.yusufceritli at gmail.com
Thu Sep 27 15:13:16 EDT 2012


Hi,

I think you need to use vtkVolumeRayCastFunction instead of
vtkVolumeRayCastCompositeFunction as follows:

CastFunction = vtkVolumeRayCastFunction()
volumeMapper.SetVolumeRayCastFunction(CastFunction)

It's not appropriate to send a composite function to
raycastcompositefunction. Let me know if it works or not.

Good luck paule :)



--
View this message in context: http://vtk.1045678.n5.nabble.com/Volume-Rendering-Using-different-scalars-for-opacity-and-color-transfer-function-tp5716336p5716339.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list