Re: FxPlug . Current FBO Buffer?
Re: FxPlug . Current FBO Buffer?
- Subject: Re: FxPlug . Current FBO Buffer?
- From: Mark <email@hidden>
- Date: Tue, 8 Jul 2008 18:31:46 +0200
Hi, I believe this should give you the currently bound FBO name.
Haven't tested it though.
GLint tmp;
glGetIntegerv( GL_FRAMEBUFFER_BINDING_EXT, &tmp );
On 08.07.2008, at 16:59, David Patrick Farmer wrote:
Howdy!
I have been using our FBO library for quite some time now in our
own Cocoa applications. This works wonderfully and all is good in
the land of our applications.
Now, I need to use these within our FxPlugs. The plugin produces
the sought result in the view as long as no other filters are up
the hierarchy ( applied to the result ).
If there are other filters or blending with other images they are
ignored. I believe it is related to calling
glBindFramebufferEXT( GL_FRAMEBUFFER_EXT, 0 ); which is resetting
the drawing buffer to the view.
Then BAM!!! I realized that FxPlug needs to be rendering to a
different buffer that is then passed up the hierarchy ( not the
screen, DOH!!! ).
THE ACTUAL QUERY:
How do I retrieve the current FBO index and restore it when other
rendering to other FBOs is complete? I tried storing GL_DRAW_BUFFER
and setting it later but that does not seem to work.
Thanks!
David Farmer
coreaudiovisual
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
scan.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden