[vtkusers] Window maximization while big model loaded.
meisam.aliroteh at gmail.com
Sun Jul 8 09:09:10 EDT 2007
I've worked with large models some time ago (I think it was about 40 Mb) and
I didn't have this problem (I was using vtk 4.2 at the time). When ever I
use large models, I use the GlobalImmediateModeRenderingOn() method of the
mapper of the actor that renders the model. Also you might want to try to
see what happens if you call ResetCameraClippingRange() of the renderer when
the user left-clicks on the screen.
On 7/8/07, Vladimir Lazunin <lazunin.v.aa at m.titech.ac.jp> wrote:
> I've checked some more, and the problem also appears in C++ applications
> as well as Python ones.
> So the problem is not with Python.
> Also, if I maximize an empty window, then open a big model - it's ok, I
> can restore, resize, maximize again - no problem.
> On Sat, 07 Jul 2007 01:43:06 +0900, Vladimir Lazunin
> <lazunin.v.aa at m.titech.ac.jp> wrote:
> > I use VTK 5.0.3 with Python on Windows XP. I open a relatively big
> > polydata (~60 MB ascii .vtk). It opens ok in default size VTK rendering
> > window. If I resize the window slowly, it's ok. However, if I maximize
> > it, then the model doesn't get scaled appropriately, but disappears from
> > the view. If I press a mouse button and move the mouse, it moves not so
> > smoothly, as if I really still interact with that big model, however
> > invisible. If i restore the previous window size, the program usually
> > stops reacting.
> > What is the problem with resizing VTK window and how, if at all, it's
> > possible to avoid it?
> > _______________________________________________
> > This is the private VTK discussion list.Please keep messages on-topic.
> > Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers