[vtkusers] Limit on # of vtkTkRenderWidgets in Windows XP?

Romy Schneider romy at tacc.utexas.edu
Tue Jan 23 16:28:29 EST 2007


An update for those who may have similar issues in the future:

I solved my problem by changing the order in which I packed and  
placed Tk widgets in my window.  I'm still not sure why this in  
particular solved the issue, but I was placing a button in the same  
frame as the renderer with the 'place' command.  Moving the  
declaration and placement of this button to after the render window  
widget declaration and packing caused Windows (or Tcl/Tk) to allow my  
third renderer to be seen.

Romy


On Jan 23, 2007, at 11:23 AM, Romy Schneider wrote:

> Hello,
>
> I have written a Tcl/Tk application with VTK and in it I use three  
> separate vtkTkRenderWidgets.  This works fine on my Intel Mac  
> 10.4.8, but I can't seem to get all three to display on my Windows  
> XP machine, only 2 will actually render at any time.  Packing or  
> not packing in Tk does not seem to make a difference, only taking  
> away one of the vtkTkRenderWidget declarations actually makes a  
> difference.  I declare them all similar to this:
>
> set vtkw [vtkTkRenderWidget .ren -width 800 -height 600 -rw renWin]
>
> with different values for ".ren" (always just below top level) and  
> "renWin" .  I did a few searches and the only similar issue I could  
> find was here:
>
> http://public.kitware.com/pipermail/vtkusers/2001-December/058473.html
>
> Although I'm only trying to create 3 render windows, not 16 so  
> surely it's not an OpenGL driver issue?  Has anyone experienced a  
> problem like this before or have any useful information on how to  
> go about solving it?  Any help greatly appreciated!
>
> Thank you,
> Romy
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Romy Schneider
> Senior Visualization Specialist
> Texas Advanced Computing Center
> The University of Texas at Austin
> http://www.tacc.utexas.edu
>
> (512) 471-6683 (direct)
> (512) 232-9084 (fax)
> romy at tacc.utexas.edu
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>

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


More information about the vtkusers mailing list