HI Stephen, My plan for osgViewer is that there will be implementations of the GraphicsWindow for MFC, this will adadpt the graphics context management and event into OSG native forms. The code needs to be written though, and for this I'll need members of the community to pitch in. None of the osgsimpleviewer* examples in CVS support Win32 or MFC yet, but they should give one a bit on an ideal of how to go about it. It needn't be a huge amount of work as the example show, certainly doable in an afternoon.
Once osgViewer is up it shouldn't be neccessary to cobble toegether bits and pieces of previous public examples on the wiki. Robert. On 10/25/06, Stephen Northcott <[EMAIL PROTECTED]> wrote:
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/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
