I'm having a hard time converting my existing application from OSG v.1.2 to v.1.9.x/2.0. I use my own rendering window and have previously used the SceneView class for handling the rendering. So, what I'm trying to do is convert my current implementation to use the osgViewer class. Unfortunately, this has become a more difficult task than I had envisioned.
I've gone through the examples, specifically the osgviewer examples, and for reasons that I haven't been able to trace down yet, I haven't been able to produce a proper view with the osgViewer class. The most applicable example in my case is the osgviewerMFC example, and when I replicate that as much as possible, all I get is a window with the blue background (and strobes like a buffer swapping issue). I fear that there is just something simple that I'm missing (as is the usually the case), but I can't for the life of me spot what it is. I was hoping that the weekend off would help me with this, but no such luck. :-( On the FAQ page, there's an example of how to use the osgUtil::SceneView class to render OSG in an existing window (http://www.openscenegraph.com/osgwiki/pmwiki.php/FAQ/FAQ#faq_34). My code is almost identical to that provided in this FAQ. I've been unable to find something similar for using osgViewer. So, my question is, is there a similar "how-to" at this point for using the new osgViewer class in this way? Or is there any advice that someone can give me on my conversion? I realize that much of the effort now is focusing on getting v.2.0 ready, so any help with this issue would be greatly appreciated. Thanks. chuck _____________________________________ Charles E. Cole (Chuck), ConITS Team 130 Research Drive Hampton, VA 23666 E-mail: [EMAIL PROTECTED] _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
