[osg-submissions] Multiple RTT support
Robert Osfield
robert.osfield at gmail.com
Mon Oct 1 03:22:44 PDT 2007
Hi John,
I've just applied your changes and osgprerender still works fine but when I run:
osgviewer cow.osg --3d-sd
And
osgviewer cow.osg --panoramic-sd
I get the error:
Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,)
RenderStage::drawInner(,) FBO status= 0x8cd5
I haven't had a chance to look into this, its an error that didn't
occur before. The above viewer options use render to texture to do
distortion correction for a spherical display.
Robert.
On 10/1/07, John Donovan <john.donovan at embryonicstudios.com> wrote:
> Hi Robert,
> With code first written by J.P. Delport, I've made the necessary changes to
> allow for multiple render to texture, and read from texture. By attaching more
> than one buffer to a camera, it automatically calls glDrawBuffers() if it's
> supported, otherwise it falls back to glDrawBuffer().
> If images are attached to a camera, it automatically reads the texture into the
> image. I've not put in any support to switch this on and off on the fly, but I
> can do that if you want.
> I've tested all the codepaths on Windows with an nVidia card, and it all seems
> shiny. But I don't have a Linux box or ATI card to test it any further.
>
> Kindest regards,
> John Donovan
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
>
More information about the osg-submissions
mailing list