Object seems to shrink from one frame to next in animation
I'm trying to do a visualization of a copper bar that's standing upright
and twisted counter-clockwise. I start from a iso-symmtric view of the bar
which has one of the long, vertical edges of the bar in the plot's center.
As the bar is being twisted however, it seems to shrink noticeably. I think
that this shrinking effect is an artifact of the visualization since I
wouldn't expect such large deformations. I save the view, roll and parallel
scale of the first frame and set them in the following frames like so:
I do this after the call to the plotting function. Finally, I save the plot
to a file. Can yo tell me what I'm doing wrong. Do I have to call some kind
of update function after setting the camera position?
I'm attaching to pictures of the plots so that you can see the shrinking
I wouldn't set the set of the camera, I would only control the parameters
of mlab.view and mlab.roll. I am afraid that you might be getting a drift
in camera distance, that you compensate with the scale.