Hi,

On Mon, 2005-10-10 at 13:25 +0200, Oliver Kutter wrote:
> Hi,
> 
> I found something and with it some new warnings / errors.
> I set the fbo viewport to false with this call:
> 
> _fboVp->setFboOn(false);
> 
> And I think, that is why my fbo viewport does not work correctly. Now I 
> set it on and I get some warnings:
> 
> WARNING: 8cd7: framebuffer FRAMEBUFFER_MISSING_ATTACHMENT
> WARNING: OpenGL Error: invalid enumerant!
> 
> These errors came from the OSGFBOViewport.cpp in the source, when the 
> FBO Status is checked. What could that be and how can I get this correct?

a slightly optimistic test after depth or stencil attachments where set
but before any of the color attachments are bound. So if both come from
checkFramebufferStatus called during FBOViewport::initialize nothing 
is wrong a you should be able to ignore them as you don't use either
buffer. If you don't want to see them just take out the test at the
end of FBOViewport::initialize there will be a final status check
after the color attachments are bound so if this one does not bring
any message it should be ok.

I'll try to look at the original problem which was rendering to a float
texture with fbos. I know that it works in principal (we do it without
OpenSG on nvidia  hardware). So there might be only some parameter
tweaking needed.

regards,
  gerrit




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to