[osg-users] Problem with graphics context not being set up in RenderInfo

2008-12-05 Thread Roger James
I have an app which uses osg::Camera to render to a shadow map. This works fine until the I try to run it old hardware that does not support frame buffer objects and the render target falls back to a one which causes a seperate GraphicsContext to be set up. This means that the following piece

Re: [osg-users] Problem with graphics context not being set up in RenderInfo

2008-12-05 Thread Robert Osfield
Hi Roger, What they of viewer code are you using? osgViewer? Something else? Robert. On Fri, Dec 5, 2008 at 1:53 PM, Roger James [EMAIL PROTECTED] wrote: I have an app which uses osg::Camera to render to a shadow map. This works fine until the I try to run it old hardware that does not

Re: [osg-users] Problem with graphics context not being set up in RenderInfo

2008-12-05 Thread Roger James
Hi Robert, Sorry for not being more specific. I am using "something else" (VTP) so I am driving osgUtil::SceneView from our own code. It is very old code in this area, we are still building against 2.6.0. However I had a quick check against the latest svn and as far as I can see the problem

Re: [osg-users] Problem with graphics context not being set up in RenderInfo

2008-12-05 Thread Robert Osfield
Hi Roger, VTP really need migrating to osgViewer... as it provide more OSG capabilities... However, osg should still be able to work with just plain SceneView, but given how complex the rendering back end is I can't really give guidance without sitting down with the particular usage model in