[osg-users] How to use frame buffer object in existing (not osg) window and pipeline.

Han Hu huhan8807 at gmail.com
Sat Feb 18 20:33:02 PST 2017


Hi Robert,

Thanks for your suggestion, I understand  the bettter way is to use osg in all the pipeline. But the ugly fact is that I have to use existing pipeline and inject the view.frame() inside a fbo binding, and hope osg will draw the things onto the fbo texture and depth. Because I can't make others change to osg. 

And the reasons I have to inject osg into existing pipeline is that I have to load an pagelod data into the scene (some osgb data). And I have successfully do this in the viewerglut example. Otherwise I have to reinventing the big wheel .

Thank you!

Cheers,
Han

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70275#70275








More information about the osg-users mailing list