[vtkusers] about rendering two volumes

Yixun Liu yxliu at fudan.edu.cn
Tue Aug 15 21:19:40 EDT 2006


Hi,

I want to render two volumes in a renderer. I did it as below,

ren->AddVolume(volume1);
ren->AddVolume(volume2);

volume2 is actually behind the volume1, However volume2 appears before volume1 because it is added to the renderer after the volume1. How to show them correctly? Does it need a depth check?

Regards,

Yixun Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060816/f123f2d2/attachment.htm>


More information about the vtkusers mailing list