Hi Adam, You need a graphics context to do any OpenGL work, whether this is provided by a pbuffer or now graphics window, or by the OS in case of phone OS's. For a desktop system you'd simply use a pbuffer, while it's use for RTT may be outdated one would still use it for an off screen context and don't consider it deprecated, unless specific driver developers plan to deprecate it, but doing so would break backwards compatibility so I think you should be fine.
Robert. On 22 January 2012 22:59, Adam Bruce <[email protected]> wrote: > Hi, > > It's been a few weeks since I've exposed my lack of knowledge of OSG, so I > figured I'd do it again. > > I'm having a bit of difficulty figuring out how to render a camera view to an > FBO only when that camera is part of a View. I have no trouble in RTT when I > simply place a camera in the graph manually, but I need it to be part of a > view so that existing manipulators can be used. This could probably be done > by attaching a pbuffer as a graphics context, but we're trying to not use > deprecated functionality for the product. I also want to avoid drawing to any > sort of hidden window, unless there's some sort of optimization under the > hood that adds no performance overhead. Is there an easy way to have a View > camera RTT using an FBO without the existing graphics contexts? > > Thanks, > Adam > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=44966#44966 > > > > > > _______________________________________________ > 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.org

