[vtkusers] 3D model and 2d Image overlay - depth issues, flickering

Aashish Chaudhary aashish.chaudhary at kitware.com
Wed Nov 6 09:52:00 EST 2013


On Tue, Nov 5, 2013 at 11:15 PM, manikandtan.ck <manikandtan.ck at gmail.com>wrote:

> I tried using the renderer->setlayer function
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/BackgroundImage
> <http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/BackgroundImage>   and
> implemented used two renderers to make the 3d and 2d into layers 0 and 1.
>

This I believe is the right approach in VTK context.


> There I found a quirk that if I set interactivity on for both renderers
> then
> I get no Interaction. When I turn on interactivity of just 3d layer, both
> 3d
> and 2d moves but it causes flickering.


Seems like you are missing something. You should be able to set the
interaction on 3D renderer (which I believe what ParaView does) and and
have the 2D renderer on top of it.
Can you post relevant code here?


> Nothing moves when I turn just the 2d
> on.
>

- Aashish


>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/3D-model-and-2d-Image-overlay-depth-issues-flickering-tp5724298p5724322.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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20131106/7b422c72/attachment.htm>


More information about the vtkusers mailing list