<div dir="ltr"><br><div class="gmail_extra">On Tue, Nov 5, 2013 at 11:15 PM, <a href="http://manikandtan.ck">manikandtan.ck</a> <span dir="ltr">&lt;<a href="mailto:manikandtan.ck@gmail.com" target="_blank">manikandtan.ck@gmail.com</a>&gt;</span> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I tried using the renderer-&gt;setlayer function<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/BackgroundImage" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/BackgroundImage</a><br>
&lt;<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/BackgroundImage" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/BackgroundImage</a>&gt;   and<br>
implemented used two renderers to make the 3d and 2d into layers 0 and 1.<br></blockquote><div><br></div><div>This I believe is the right approach in VTK context. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

There I found a quirk that if I set interactivity on for both renderers then<br>
I get no Interaction. When I turn on interactivity of just 3d layer, both 3d<br>
and 2d moves but it causes flickering. </blockquote><div><br></div><div>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. </div>
<div>Can you post relevant code here? </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Nothing moves when I turn just the 2d<br>
on.<br></blockquote><div><br></div><div>- Aashish</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/3D-model-and-2d-Image-overlay-depth-issues-flickering-tp5724298p5724322.html" target="_blank">http://vtk.1045678.n5.nabble.com/3D-model-and-2d-Image-overlay-depth-issues-flickering-tp5724298p5724322.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&amp;D Engineer         <br>| Kitware Inc.            <br>| <a href="http://www.kitware.com">www.kitware.com</a>    
</div></div>