<div dir="ltr">It should be the same unless any of the actors are coincident or translucent. In that case the order of the actors can make a difference. alpha blending for transparency is order dependent and with coincident geometry either first or last wins (I forget which in VTK). Not sure if that applies in your example. </div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 19, 2017 at 4:54 PM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I have a scene with various actors and everything draws and behaves correctly. If I then simply remove and re-add an actor like so:<br>
<br>
renderer->RemoveViewProp(<wbr>actor);<br>
renderer->AddViewProp(actor);<br>
<br>
then should I expect things to redraw exactly as they were? I thought yes, but I have a case where the answer is no. Here's a screenshot:<br>
<br>
<<a href="https://www.rogue-research.com/VTKRemoveAddBug.png" rel="noreferrer" target="_blank">https://www.rogue-research.<wbr>com/VTKRemoveAddBug.png</a>><br>
<br>
The left is correct and before the remove+add. The right is after and incorrect.<br>
<br>
Is this expected? buggy?<br>
<br>
Thanks,<br>
<br>
--<br>
______________________________<wbr>______________________________<br>
Sean McBride, B. Eng <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
Rogue Research <a href="http://www.rogue-research.com" rel="noreferrer" target="_blank">www.rogue-research.com</a><br>
Mac Software Developer Montréal, Québec, Canada<br>
<br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div>
</div>