Hi all,

I tend to develop / prototype code using the standard Producer Viewer methods from the OSG tutorials. This is simply because I have used those more often, am familiar with them, and can quickly implement them... Also the keyboard and mouse, as well as PickHandler callbacks are very comprehensive..

Recently I have been using the MFC solution kindly provided in the Windowing toolkit section of the OSG website to migrate an app onto the PC.

Unfortunately the two systems are not compatible in terms of keyboard and mouse callbacks, or the PickHandler callbacks... This is because they use different methods to provide our viewport..

Whilst getting viewports to work in either is relatively trivial, other things seem not to be..

Is there a simple way to cross over existing callbacks from one system to another.. The two don't appear to be compatible.. and in fact seem to be missing some features such as mouse trackball and so on... I am wondering if there is a way I can fudge this, or interface the two together.. This would save re-coding, managing two sets of code, or having to change the way I prototype code..

If anyone has done this and could point me to an example that doesn't involve recoding them in their entirety for either system that would be very helpful..

Thanks.

Kind regards,
Stephen.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to