[osg-submissions] Move MRT into FBO patch
Art Tevs
stud_info2 at yahoo.de
Tue Apr 15 07:19:47 PDT 2008
Hi Robert,
as from our discussion previously here is now the
patch which do move the MRT functionality out of
osgUtil::RenderStage in to osg::FrameBufferObject.
---------------------------------------------------
DESCRIPTIUON:
Each FBO does now manages a list of all color
attachments , which are setted as rendering targets
with glDrawBuffers call when the FBO is applied.
This is neccessary to allow the use of FBOs without
camera objects as it was done previously.
TESTING:
Tested with osg examples and with my own. The
applications seems to work properly.
osgmultiplerenderingtarget example do also its job
without any problems.
-----------------------------------------------------
I would like to have this patch included before v2.4,
since this do enables more general use of MRTs in osg.
It would be also very gladious if the author of the
previous implementation could check the new
functionality with his own software.
Best regards,
Art
__________________________________________________________
Gesendet von Yahoo! Mail.
Der Lieblings-Mailbox der Welt.
http://de.overview.mail.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fbo_and_mrt.tar.gz
Type: application/x-gzip
Size: 17183 bytes
Desc: 3137323562-fbo_and_mrt.tar.gz
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080415/8ff16b49/attachment-0001.bin
More information about the osg-submissions
mailing list