Hi Paul,

I did not want to have to do any kind of key translation for such a simple example, so I left it as it was (using EVT_CHAR for key presses and EVT_KEY_UP for releases). Perhaps Thibault has some code lying around to do complete translation.

Thanks for the explanation. We'll see what Thibault can come up with.

As far as the threading is concerned, I put in the SingleThreaded intialization as I wasn't sure if the GraphicsWindowWX class methods weren't going to be called from a different thread than the main wxWidgets thread.

As you may have read earlier in this thread, I've tried all the threading models, and they work if they're set that way at startup. The only time I've seen the example crash is when switching threading models at runtime ('m' key). We'll see if Thibault can find a solution to that too. Perhaps it is related to GUI calls on another thread, so perhaps a slight redesign of GraphicsWindowWX would be in order.

Thanks,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to