I tried to compile it and link on Windows with latest SVN. Compiled and linked fine.I ran osg prerender and shadow exmples with fbo. Again no problems. But frankly haven't tested MRT functionality at all.
Cheers, Wojtek ----- Original Message ----- From: "J.P. Delport" <[EMAIL PROTECTED]> To: "OpenSceneGraph Users" <[email protected]> Sent: Tuesday, April 01, 2008 12:29 PM Subject: Re: [osg-users] Multiple Render Targets - Request forComments/Testing > Hi, > > is anyone looking at this, or should I assume no news is good news and > just submit it as a patch? > > rgds > jp > > J.P. Delport wrote: >> Hi, >> >> over the weekend I have consolidated previous hacks to enable MRT into >> what I hope would be an acceptable patch for OSG. >> >> I would like to have it tested a bit before sending it to submissions. >> >> Attached are the changes to OSG's Camera and RenderStage. >> >> Camera got a new method called setDrawBuffers (instead of the normal >> setDrawBuffer), which mirrors the OpenGL extension glDrawBuffers. >> >> setDrawBuffers takes a vector of BufferComponents and this vector is >> then translated in RenderStage to a vector of GLenums that is passed to >> glDrawBuffers. >> >> The new calls are orthogonal to current use cases, so hopefully no other >> code/examples would be affected. >> >> The attached example shows sample usage. The example is very contrived, >> but I hope it explains the concept. I have some other examples that I >> can contribute later. >> >> Please let fly with comments/observations. >> >> regards >> jp >> >> PS. How do I add an example to OSG? The CMakelists in the examples >> directory contains a list of directories, but when is the CMakelists in >> a specific example directory created? >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-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. > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

