Re: FxPlug . Current FBO Buffer?
Re: FxPlug . Current FBO Buffer?
- Subject: Re: FxPlug . Current FBO Buffer?
- From: Darrin Cardani <email@hidden>
- Date: Tue, 8 Jul 2008 13:29:45 -0700
On Jul 8, 2008, at 7:59 AM, 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.
Dave, I asked around and here's a response I got:
Thanks, |
_______________________________________________
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