<div dir="ltr">Looking at you code, I'm suspicious of the single mapper/actor going into two different renderers. Try splitting at the mapper level. Ie, one sphere source, feeds 2 mappers, each of which feeds its own actor, each goes into its own renderer.<div>

<br></div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Fri, Aug 8, 2014 at 5:59 PM, Alireza Mehrtash <span dir="ltr"><<a href="mailto:mehrtash@bwh.harvard.edu" target="_blank">mehrtash@bwh.harvard.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I tried that but it gives:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default">


vtkRendererCollection (0x8a6be0): Invalid layer for renderer: not rendered.</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Aug 8, 2014 at 5:50 PM, David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><p>Call SetLayer(1) on the overlay layer.</p>
<div class="gmail_quote"><div><div>On Aug 8, 2014 5:27 PM, "Alireza Mehrtash" <<a href="mailto:mehrtash@bwh.harvard.edu" target="_blank">mehrtash@bwh.harvard.edu</a>> wrote:<br type="attribution">
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi All,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">





I have two renderers in a render window ​with one of them as a bottom left viewport (the code and the picture are attached). I want the viewport renderer to be transparent exactly like the vtk oreientation marker [1]. I would appreciate if you help me achieving this.</div>





<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">





Alireza</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">





[1] <a href="http://www.itk.org/Wiki/VTK/Examples/Cxx/Widgets/OrientationMarkerWidget" target="_blank">http://www.itk.org/Wiki/VTK/Examples/Cxx/Widgets/OrientationMarkerWidget</a></div></div>
<br></div></div>_______________________________________________<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://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div>
<p></p>

</div></div><p>The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.</p></blockquote></div><br></div>
</blockquote></div><br></div>