[vtkusers] Q: nVidia graphics card problem. Help!
Charl P. Botha
c.p.botha at its.tudelft.nl
Thu Jul 5 17:30:10 EDT 2001
Hi David (and Audrius),
On Thu, Jul 05, 2001 at 05:08:04PM -0400, David Gobbi wrote:
> Make sure that you don't try to share the same vtkTexture
> (or the same vtkImageActor) between two vtkRenderWindows.
> That is a big no-no, and is likely to either screw up the
> rendering or to force the texture to re-load on every render
> (my guess is that your textures are being re-loaded each
> time, and this is slowing you down).
>
> Make a new texture for each window.
FWIW, this does screw up rendering in VTK 3.2. I did submit a fix (which
Lisa Avila committed to CVS) that remedies this (i.e. in post-3.2 VTK,
vtkTextures can be shared between renderwindows). I am sharing textures in
the hope that VTK will one day support glx shared contexts (at the moment it
downloads the texture twice) and I'm not seeing any significant slowdowns
(with up to 700 x 512 textures).
However, it does make sense with current VTK NOT to do this, as it is still
faster.
My 2c,
Charl
--
charl p. botha | computer graphics and cad/cam
http://cpbotha.net/ | http://www.cg.its.tudelft.nl/
More information about the vtkusers
mailing list