<div dir="ltr">Hi Jose,<div><br></div><div>Use two superimposed renderers.  This provides two independent cameras.</div><div><br></div><div>// Main renderer (i.e. the one you already have)</div><div>window->AddRender(renderer);</div><div><br></div><div>// "Overlay" renderer (with its own camera and actors)</div><div>overlayRenderer->SetViewPort(renderer->GetViewPort()); // same viewport</div><div>overlayRenderer->EraseOff(); // do not erase before renderering</div><div>window->AddRenderer(overlayRenderer); // add on top of other renderer</div><div><br></div><div>The two renderers will share the depth buffer and color buffer, but each will have its own camera, lights, and actors.</div><div><br></div><div>You can even make the "overlay" renderer so that its viewport only covers part of other renderer.  After all, a renderer is just a class that renders into a viewport within the window, you can choose the viewports however you like.</div><div><br></div><div> - David</div><div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 29, 2016 at 1:07 PM, Jose Barreto <span dir="ltr"><<a href="mailto:jose.de.paula@live.com" target="_blank">jose.de.paula@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello guys,<br>
<br>
Is there any way to make a 3D object ignores the positioning of the camera?<br>
Or apply it to the inverse movement rotation  of the camera.<br>
<br>
I'm using vtkResliceImageViewer2 to display the three DICOM viewers  (Axial,<br>
Sagittal and Coronal). In the axial, I mark one sequence of points<br>
(vtkSplineWidget), which are used to create a panoramic view.<br>
<br>
The problem is that the vtkResliceImageViewer2 object handles the camera in<br>
order to create cutting the image. And my vtkSplineWidget object  is moving<br>
along together with vtkResliceImageViewer2.<br>
<br>
How do I stop the  vtkSplineWidget movement independent the camera position.<br></blockquote></div></div></div></div>