Hi,
I know OSG viewer can render into other window as shown in the glutviewer and
sdl viewer example. But I do not know how to use fbo for this kind of work. The
following code describes my purpose.
Code:
osg::ref_ptr viewer;
/* The vierwer is properly set up for other window*/
FrameBuffer
HI Han,
The OSG has a sophisticated support for multiple pass rendering built
into the scene graph itself, tjhere is no need to mix viewer code with
multi-pass rendering in the way you are doing. I would recommend
against conflating viewer and low level rendering of the scene as it
limits the flex
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 m
3 matches
Mail list logo