|
|
Hi All,
I am using FLTK and OpenGL to implement a tool for animation of 3D objects using 3rd party libraries.
I have a Fl_Double_Window containing a toolbar and a Fl_Gl_Window.
When I press a button in the toolbar, one of the 3rd party library launches a thread that modifies one of the 3D object in the scene, that is animate it depending from he current time.
Each time the object is modified, I call redraw() in the Fl_Gl_Window but the object remains unchanged.
If I move the mouse inside the Fl_Gl_Window, the animation is correctly showed. I printed the events received from the Fl_Gl_Window and it seems that the update of the GL window is due to the FL_MOVE event.
Now, probably I am missing something very simple but I really don't know what.
Anybody has some clues?
Thanks,
Marco
[ Direct Link to Message ] | |
|
| |