I think I am very near to finish this...<br><br>Let me try to explain... I have to generate stereo images to use with Crystal Eyes... So, I have create two viewports, displayed vertically, one over other... The upper viewport is the stereo image for one eye, and the second one for the other eye. I have to put one of this images with a difference of 5° (the paralaxe). I was creating two cameras, each one for one viewport. In the second camera I was using the method Azimuth(5). But in this way, I was having to take care of the interaction, what I could not done... Now I have try a different solution: I create only one camera and set to both viewports. Now, any action with the mouse move the two images together... But I have to translate the second image in 5°, and I do not know how to do it... How can I translate an imagem in a viewport???
<br><br>ps.: sorry for the english, I am from Brazil!<br><br>ps2.: thanks for the attention!!!<br><br><div class="gmail_quote">On Jan 9, 2008 11:42 AM, Luca Pallozzi Lavorante &lt;<a href="mailto:lplavorante@gmail.com">lplavorante@gmail.com
</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Sicilia, <br>if you work in C++, let&#39;s say you have two viewports, with two corresponding instances of vtkRenderer, ren1 and ren2. Say that you want to modify ren2´s camera according to whatever interaction you perform on ren1 (via a vtkRenderWindowInteractor). The command to accomplish that is :
<br><br>ren2-&gt;SetActiveCamera(ren1-&gt;GetActiveCamera());<br><br>Hope this help <br><font color="#888888"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Luca<br>
</font><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ
</a><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><br></blockquote></div><br><br clear="all"><br>
-- <br>---------------------------------------------------------------------------<br>Sicilia Ferreira Judice<br><a href="http://www.lncc.br/~sicilia">www.lncc.br/~sicilia</a><br><a href="mailto:sicilia@lncc.br">sicilia@lncc.br
</a><br><br>Laboratório Nacional de Computação Cientifica<br>Avenida Getulio Vargas, 333 - Quitandinha.<br>Petrópolis, RJ, Brasil - CEP: 25651-075. <br>Sala 1A-44 &nbsp;| Tel. +55 (24) 2233-6173<br>Lab. Virtual | Tel. +55 (24) 2233-6098