[vtkusers] Rendering bug when embedding vtk in gtk

Valerie Coffman valerie.coffman at nist.gov
Mon Jun 15 17:47:08 EDT 2009


Dear VTK Users,

After the latest Mac update, I noticed a bug with rendering vtk data 
embedded in gtk windows.  If I try to render a vtkVolume and a vtkActor, 
the vtkVolume is not displayed.  This does not happen if the vtk window 
is not embedded in a gtk window.  It also doesn't happen when using the 
same versions of vtk and gtk on a under Linux with a Linux display.  It 
does happen if I ssh to a Linux box and display on the Mac.  (I was 
unable to check whether the bug appeared when running on a Mac but 
displaying in Linux as this resulted in a bus error.)

I am not using gtkglext.  I posted a while back about how to put vtk and 
gtk together without gtkglext or gtkglarea: 
http://www.vtk.org/pipermail/vtkusers/2008-April/094892.html .  In fact, 
this bug appeared earlier when using gtkglext and went away when I 
implemented the fix described in the above link.  Now it has resurfaced.


Here are the details of the latest Mac updates

2009-06-09 13:14:35 -0400: Installed "Digital Camera Raw Compatibility 
Update" (2.6)
2009-06-09 13:14:50 -0400: Installed "AirPort Utility Software Update 
2009-002" (5.4.2)
2009-06-09 13:15:07 -0400: Installed "iWork '09 Update 2" (9.0.2)
2009-06-09 13:15:49 -0400: Installed "iTunes" (8.2.0)
2009-06-09 13:15:53 -0400: Installed "iLife Support" (9.0.3)
2009-06-09 13:16:07 -0400: Installed "iDVD Update" (7.0.4)
2009-06-09 13:18:54 -0400: Installed "Mac OS X Update" (10.5.7)
2009-06-09 13:19:26 -0400: Installed "QuickTime" (7.6.2)

The relevant version info is:
VTK 5.0.4.3 (fink package vtk-py25)
GTK 2.16.2-2 (also installed with fink)
X11 2.3.3.2 (from http://xquartz.macosforge.org/)
pygtk 2.12.1-5 (also from fink)
Python 2.5 (fink package number 1:2.5.4-1)

I've posted test scripts, data, and pictures here: 
http://www.ctcms.nist.gov/oof/renderingbug/

Any insights would be greatly appreciated!

Thanks
Valerie Coffman



More information about the vtkusers mailing list