[vtkusers] using vtkFlRenderWindowInteractor

gwenael.guillard at enst-bretagne.fr gwenael.guillard at enst-bretagne.fr
Wed Jul 16 08:42:57 EDT 2003


Thank you for your modifications. May you send me the modificated example of 
code? First to understand why mine was incompleted (sorry for that), second to 
reproduce the good way to do.



Selon "Charl P. Botha" <c.p.botha at ewi.tudelft.nl>:

> 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