[osg-submissions] Move MRT into FBO patch
J.P. Delport
jpdelport at csir.co.za
Tue Apr 15 08:21:52 PDT 2008
Hi Art,
I've quickly looked at the changes and do not see any problems. I think
your way of setting up the drawbuffers in apply is good.
The typedef "MultipleRenderTargetMap" (in FrameBufferObject) is a bit
misleading though. The AttachmentMap is a std::map, but
MultipleRenderTargetMap is a std::vector? But these are semantics, the
functionality looks good to me.
Will also test tomorrow.
regards
jp
Art Tevs wrote:
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
More information about the osg-submissions
mailing list