[vtkusers] depth sorting? render passes?

David E DeMarle dave.demarle at kitware.com
Sat Dec 3 08:11:32 EST 2016


Instead of render passes try using separate renderers. B goes into the
renderer at layer 0. A goes into the renderer at layer 1. Then make sure
both renderers's cameras have the same state.

On Dec 3, 2016 6:41 AM, "leonid" <leonid.gluhovsky at gmail.com> wrote:

> Hello,
>
> I need to render two polydata objects, A and B.  Each of them should be
> opaque, in the sense that their "back walls" should not be seen on the
> screen.  However, even though object A is fully contained within object B,
> I
> need object A to be always seen on the screen.  I.e., A and B should be
> opaque except for the fact that A should be visible through the surface of
> B.
>
> How can it be achieved?
>
> I read up on vtkRenderPass, but I cannot figure out if I can attach
> different objects to different render passes.
>
> Many thanks.
>
> leonid
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.
> com/depth-sorting-render-passes-tp5741407.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161203/33d05f93/attachment.html>


More information about the vtkusers mailing list