<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>For troubleshooting problems like this, use test images that don't have a black background. That way we can see where the boundaries of the images are.</div><div><br></div><div>It looks like the images are simply being rendered in the wrong position.  So the question is whether this is due to the fact that multiple viewports are being used (i.e. due to a bug in the display coords or view coords), or if this is due to a shift in the world coords.  Either way, this is strange because the OpenGL2 vtkImageSliceMapper simply uses a vtkPolyDataMapper under the hood.</div><div><br></div><div>There were many changes between VTK 6.2 and VTK 7.0... any chance that you can try this with the OpenGL backend in VTK 7.0 (instead of OpenGL2)?</div><div><br></div><div>Also, here is a very important question: do you create a separate vtkImageActor for each of your viewports?  Actors should not, in general, be shared between viewports.</div><div><br></div><div> - David</div><div><br></div></div><div class="gmail_quote">On Wed, Jun 29, 2016 at 8:39 AM, Doug Hoppes <span dir="ltr"><<a href="mailto:dhoppes@mbfbioscience.com" target="_blank">dhoppes@mbfbioscience.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Notice the clipping. The upper two viewports show nothing, the bottom viewport is correct and the rightmost viewport is clipped in the center of the viewport.
 If we resize the overall vtk window, the viewport is still clipped in the center.  It seems that there is no display to the right-side of the viewport.  In the main right viewport, we can actually move the objects around without a problem but the results are
 still clipped.</span></p></div></div></blockquote></div></div></div>