[osg-users] Attaching a RenderBuffer to a camera

Jason Baurick baurick at gmail.com
Thu May 1 09:45:39 PDT 2008


Hi,

I am having an issue with FrameBufferObjects and I was hoping someone could
help.  I want the master camera of my view to render to an FBO.  This works
fine by just calling
view->getCamera()->setRenderTargetImplementation(Camera::FRAME_BUFFER_OBJECT).
However, I cannot figure out how to get the RenderBuffers the FBO has
attached to resize.  One thought I had was to instanciate my own
RenderBuffers and attach them to the camera, hower the attach method only
takes formats, textures or images.

Any ideas on how I could go about solving this problem?

-- 
--Jason Baurick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080501/05f9abfb/attachment.htm 


More information about the osg-users mailing list