Robert, Oh and I forgot, we are creating graphics contexts via a class that I wrote to manage context per window. I remember that I had to create a fake context along with the first real context to successfully implement sharing. Is there a nice way to use OSG to manage contexts?
John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Monday, March 17, 2008 3:28 PM To: OpenSceneGraph Users Subject: Re: [osg-users] SceneView and Multi-camera render to texture Hi John, As you are rolling your own viewer its really open ended how you are doing things, so its hard to know where to start. Are you using pbuffers? frame buffer objects? How are you creating graphic contexts? Personally I'd recommend using osgViewer, it does mean that you know it'll work and providing support at our end is much more sane as we won't have to ask dozens of question trying to work out what setup you have. Rolled you own viewer is really expensive for us to support. Robert. On Mon, Mar 17, 2008 at 5:46 PM, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote: > > > > Robert and pals, > > We are using osg 2.0. I am trying to duplicate the behavior of the > osgdistortion example, but we are using osgUtil::SceneView and not > osgViewer::Viewer. > > I have been unable to mimic the behavior of the example. If I set my > texture camera to PRE_RENDER, all I get is a blank quad set to the > color of the osg::geometry. If I set it to NESTED_RENDER, which is > wrong, I think it draws the texture to the back buffer, because I can see it on the screen. > > Can anyone offer me some advice in this area? > > Thanks for your help.... > > John Argentieri > Software Engineer > GENERAL DYNAMICS > C4 Systems > (407) 281-5568 > [EMAIL PROTECTED] > > "This email message is for the sole use of the intended recipient(s) > and may contain GDC4S confidential or privileged information. Any > unauthorized review, use, disclosure or distribution is prohibited. If > you are not an intended recipient, please contact the sender by reply > email and destroy all copies of the original message." > _______________________________________________ > osg-users mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph. > org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

