[Paraview] camera values range

Moreland, Kenneth kmorel at sandia.gov
Fri Jun 20 11:15:57 EDT 2008


> Hi, I'm a novice of paraview so I beg your pardon if I submit an already
> discussed problem. I had many problems playing with the camera because
> it seems the min-max range of the possible values spans the interval
> [-10000 ,+10000]. This limits sound strange to me, I wondered why it
> hasn't been set a much higher value. For example, in my case, I had a
> model in mm, thus it was easy to reach the upper and lower bound,
> causing a crazy behavior of the final view. Two questions about this:
>
> 1) Has anybody already faced such a problem?

There are no set limits, but multiple readers have run into problems with camera movement when the geometry bounds of the data are very large or very small (see bug #5576 http://www.paraview.org/Bug/view.php?id=5576).  I'm pretty sure they are due to some rounding issues with a 32-bit float somewhere.  However, they usually don't occur unless the bounds exceed +/-1e13.  I've never seen it on bounds as small as yours.  Can you describe your data further?

> 2) Is it possible to somehow alter these bounds?

Try using the Transform filter and apply a scale to make the bounds smaller.

> Another non-related issue:
>
> 3) If I load a huge mesh (around 8 millions of elements) Paraview
> suddenly crashes because a failed memory allocation. Would it be
> possible in the future to have a smoother failure, maybe through a popup
> warning that the memory limits have been reached? This would be
> extremely helpful both for a cleaner behavior and to avoid a waste of
> time because of a not yet saved state.

I think everyone agrees that would be ideal, but unfortunately requires a huge level of effort.  Also, any solution would be difficult to test and maintain.

-Ken




More information about the ParaView mailing list