FxPlug . Current FBO Buffer?
FxPlug . Current FBO Buffer?
- Subject: FxPlug . Current FBO Buffer?
- From: David Patrick Farmer <email@hidden>
- Date: Tue, 8 Jul 2008 09:59:27 -0500
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:
This email sent to email@hidden