[vtkusers] multiple volume rendering

Lisa Avila lisa.avila at kitware.com
Fri Apr 29 11:17:23 EDT 2005


Hello Radu,

Do your two volumes overlap? If not, you can simply create two volumes, two 
volume mappers, two functions, etc. and add them both to the renderer. Make 
sure to get the Culler from the renderer and turn on back to front sorting 
of the props so the volumes will composite in the correct order.

Lisa


At 07:14 AM 4/28/2005, Ilinca, Radu wrote:
>Hello ! I am still a newbie in VTK :(. I want to perform  a standard 
>raycasting using the vtkVolumeRayCastCompositeFunction class. The dataset 
>is mapped around the vtkVolumeRayCastMapper. It works. However, I want to 
>have 2 volumes and perform the raycasting using the same 
>vtkVolumeRayCastCompositeFunction. So...how do I load the 2 volumes in the 
>same mapper ???? Which class should I modify / use..which functions should 
>I overrride..please give me some starter ideas !!  I tried so far to 
>modify the vtkVolumeRayCastMapper but it didn't worked :(
>
>Thanks,
>
>--
>Radu Ilinca
>Institut für Computergraphik und Algorithmen       Favoritenstraße 9/5. 
>Stock       1040  Wien
>
>Tel:  ++43 (1) 58801 18644
>Fax:  ++43 (1) 58801 18698
>mailto:rilinca at cg.tuwien.ac.at
>http://www.cg.tuwien.ac.at/staff/RaduIlinca.html
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages on-topic. 
>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list