Hello Carsten, On 20.11.2015 18:48, Carsten Neumann wrote: > On 2015-11-19 09:50, Johannes Brunen wrote:
>> 2.) For experimentation I did put some clear buffer code into the >> FBOBackground clear function. I have provided a modified FBOBackground >> along with the new stuff in the attached zip file. In this source you >> can activate the buffer clearing with define DEBUG_CLEAR_BACKGROUND. > > I assume that is meant purely for debugging purposes? I may well be > missing something but outside of debugging I don't see a reason to clear > the buffers we are about to overwrite with the blit? > yes, only for debugging. > I'll check places where glBlitFramebuffer is used, since those seem the > most likely to have a problem. thank you. > > I think the blit in FBOForeground should use the pEnv viewport > dimensions as source (pEnv->getPixelLeft(), ..., pEnv->getPixelRight() > +1, ...) and the entire FBO as destination (0,0, fbo->width, fbo->height). > I'm holding off adding the FBOForeground and example so we can come to > an agreement what values are best here. > ok. >> For instance, I'm still unsure about the >> implications of an multsampling render GL context of the window. > > I'm not sure what you are asking. To the extend that I understand it > glBlitFramebuffer is capable of blitting between multisampled and > single-sampled buffers (at the very least in the direction of multi -> > single). You gave me just a new piece of information with you answer. My scenario is that I might have a multisampled render context window and a non multisampled framebuffer object. I was unsure whether I did have also to use a multsampling framebuffer object when I have such a render context. > So my hope would be that things "just work" ... That would be best :-) Greetings, Johannes ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140 _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users