I have an application that uses 4 render windows - 1 for 3D objects
and 3 widgets for 2D
images (these are Xt Widgets that are GL drawable).
I am noticing considerable rendering delay
switching between the 2d and 3d windows, especially when
I come from interacting with
the 2D images (using a slider to view the different slices)
to the 3D render window. Depending on the data size, it takes a significant
time to do the first
rendering and after that, the interaction (using render window interactor)
works normally.
Is there some major overhead between switching pipelines (these
are independently constructed vtk
pipelines), or am I doing something silly? Note that nothing
in the 3D widget has changed except for
the camera position, so that the pipeline should not execute again
(almost seems like it does).
This runs within a Motif application. I am creating a XVisual for the
top level
widget and this is (I guess) inherited by all 4 render widgets. Could
that be an issue? I use a separate
GL context for the 3 2D windows and VTK creates the
context for the 3D window.
Thanks.
-- krs
--
K.R.Subramanian Phone: (704) 547-4872
Department of Computer Science FAX: (704) 547-3516
UNC Charlotte Email: krs@cs.uncc.edu
9201 Univ. City Blvd. WWW: http://www.cs.uncc.edu/~krs
Charlotte, NC 28223-0001