[vtkusers] Textures not being rendered

Paul St. John pstjohn at improvedoutcomes.com
Tue May 3 11:39:33 EDT 2005


Hi group,

I'm experiencing a problem with textures not being displayed
in some renderers.  This occurs when using a number of
vtkRenderer/vtkRenderWindow pairs (the renderer is  a
vtkOpenGLRenderer).  There are ~23 of these pairs in the
application.  The texture is created and associated with a
plane, it is added to the renderer and the renderer knows
about it (as evidenced by [renderer]->IsItemPresent(pProp) )
but it does not get rendered.  If I add it to another
renderer, it is rendered in it fine.  If I reduced the total
number of renderers, it is rendered fine by the originally
problematic one.   The limit of renderer/renderWindow pairs
at which the problem occurs varies between machines.

The problem occurs using vtk 3.2 (upgrading is not an option
at this point) and on Redhat 8.  The problem was seen before
(read years ago) on Solaris with a test application.
It might be pertinent to know that vtk has been married with
Qt in the application by setting the renderWindow's window
ID using the native window ID of the QT Widget that
encapsulates the renderer/renderWindow pair.

I would like to be able to use a number of renderers (i.e.,
not have the problem at all) but would be happy with a
programmatic method for determining the the limit on the
number of renderers.  To do that, I would need to know
exactly what the limiting factor is - is it openGL contexts
or a vtk limitation?

If anyone can shed light on just what the limiting factor is
(and how to check for it), I'd sure appreciate it.

Cheers,
Paul.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050503/21dd6d99/attachment.htm>


More information about the vtkusers mailing list