[vtkusers] Merging Different set of Volumes data...

Lisa S. Avila lisa.avila at kitware.com
Tue Nov 12 22:20:49 EST 2002


Hello Kevin,

Your problem is that VTK does not depth sort props by default. You need to 
get the culler from the renderer and turn the back-to-front sorting on. 
This is the same problem you would have with any set of translucent props 
(geometric or volumetric).

Lisa


At 09:03 AM 11/8/2002, Kevin Tiow Wee TAN wrote:
>Hi,
>How are you?
>
>I had about 5 set of volumes data to be merged into one single Renderer
>Window.  Each set volumes are merge in the different of x,y and z
>position.
>
>I used Renderer.AddVolume method to add each set of them individually at
>different time into the same renderer.  By using Reader.SetTransform
>method to move those set of volume to specific position.
>
>The reason of using AddVolume method is each individual volume will have
>different set of RGB/Opacity transfer values.
>
>The problem is I found that, when I turn the volumes around, the volume
>that I added LATER always seems to stand in front of the volume I added
>ealier.  Even I turn the Interactor 180 degree, the later added volume
>still seems to stand in front, rather move behind...
>
>Any idea why???  If you have any other better method to load 5 set of
>volumes at different time rather than using 5 times of AddVolume method,
>please do also advice me...
>
>--
>Thanks
>Kevin
>**********************************
>Manchester Material Science Centre
>University of Manchester
>----------------------------------
>Centre for Virtual Environments
>University of Salford
>**********************************
>_______________________________________________
>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://public.kitware.com/mailman/listinfo/vtkusers






More information about the vtkusers mailing list