Hi,<br><br>I would like to be able to zoom during an animation using perspective projection. I am doing everything via a Python script. For parallel projection, the transformation is simple and one zooms just by changing a constant factor, i.e., setting the CameraParallelScale variable, and the camera 
doesn&#39;t &#39;move&#39;.<br>

<br>In parallel projection, however, one needs to change the actual 
camera position and the transformation is not that simple. Looking at the Python trace after zooming with
 the middle button, ParaView just reports the new camera position, but 
not how it was calculated. <br>
<br>Looking at vtk documentation, there is a class called vtkCamera, 
which can be zoomed simply, just using vtkCamera.Zoom(float), which supposedly
zooms properly both in parallel and perspective projections, at least 
according to the documentation. What I can&#39;t figure out is how to call a
 renderer using the vtk module and create the vtkCamera for that 
renderer, i.e., there would be a RenderView object V of some sort, and 
we would just set<br>
<br>V.vtkCamera.Zoom(float)<br><br>However, there is no vtkRenderView or
 vtkView within the vtk Python classes provided by the module that comes
 with ParaView. Would someone be able to tell me what GetRenderView() in paraview acually calls? Or if I am headed in the wrong direction, how should this be done properly? I hope I don&#39;t have to code up all the transformations by hand to obtain the new camera position for parallel projection...Thanks,<br>
<br>Milos<br><br clear="all"><br>-- <br><font color="#888888"><div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
<div><span>Miloš Ilak</span></div><div>Linné Flow Centre</div><div>KTH 
Mechanics, Stockholm </div><div>+46(0) 8 790-7152</div><div><a href="http://www2.mech.kth.se/%7Eilak/" target="_blank">www2.mech.kth.se/~<span>ilak</span></a><br><br></div></div></span></span>
</div></font><br>