Hi Robert and Markus, I will be pleased that you submit this little example to the OSG distribution itself, but I'm not very strong to make CMake et stuff like that, so Robert I let you do the package, it's all yours ;-)
There is juste a little mistake in FOX_OSG.cpp in function : GraphicsWindowFOX::onLeftBtnPress(FXObject *sender, FXSelector sel, void* ptr) you have to replace getEventQueue()->mouseButtonPress(event->click_x, event->click_x, 1); by getEventQueue()->mouseButtonPress(event->click_x, event->click_y, 1); 2007/7/10, Markus Hein <[EMAIL PROTECTED]>:
Hi Alexandre, amalric alexandre schrieb: > > I had to do this for my own application. In example's directory of > osgViewer integration there is no example for FOX. > > It's quite simple but I hope it will help some people who wants to > integrate OSG in their Fox application. I've attached a Visual 2005 > project similar to "example osgViewerWX" called "example osgViewerFOX" > ;-) > thanks for the OSG-FOX example. I prefer using FOX-GUI, and your code worked just fine. I took your sourcecode under a new KDevelop3 Project, and linked it against OSG-2.0 and FOX-1.7 Nice! Would be fine if it was part of the OSG-2.0 source package in future ? :-) Thanks, Markus _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/