[vtkusers] using vtkFlRenderWindowInteractor

Charl P. Botha c.p.botha at ewi.tudelft.nl
Tue Jul 15 08:33:55 EDT 2003


On Fri, 2003-07-11 at 09:53, gwenael.guillard at enst-bretagne.fr wrote:
> Here is the simplest example I found where the problem arises.

1. Your example was not complete.  I had to add code to get it working.
2. You're using quite an old vtkFlRenderWindowInteractor.  When
reporting problems, make sure you're using the latest.
3. In this case, you were lucky. ;)

It seems that after a FLTK hide()/show(), nobody takes the time to
ensure that there's a valid GL context.  This happens later during FLTK
drawing, which in our case doesn't apply.  I've added appropiate calls
to the vtkFlRenderWindowInteractor code to make sure that there's always
a valid context.

Please download and use a new version from 
http://cpbotha.net/vtkFlRenderWindowInteractor.html

Thanks,
Charl

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtkusers mailing list