Thanks roberts, I'll start having a little digg around. Also found that apple added FBOs to there es 1 implementation so I'll get that working also.
http://developer.apple.com/library/ios/#documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/WorkingwithEAGLContexts/WorkingwithEAGLContexts.html#//apple_ref/doc/uid/TP40008793-CH103-SW1 To save me a little time would you mind explaining to me how the FBOs are binded to the current context? I.e. is it something the Viewer needs to handle, as I don't see platform specific implementations of FBOs Thanks Tom On 20 October 2010 14:28, Robert Osfield <[email protected]> wrote: > Hi Thomas, > > I don't believe there is any PBuffer support available for OpenGLES so > this is no go. There looks to be the frame buffer objects API > available in OpenGLES 2.0, but it would be worth checking to see if > the OSG's extension setup for these functions is working for GLES2. > > A general note, FBO's are at worst as just as fast as pbuffers, but > typically will be faster as there is no need for managing multiple > contexts. > > Robert. > > On Wed, Oct 20, 2010 at 2:06 PM, Thomas Hogarth > <[email protected]> wrote: > > Hi All > > Have a quick question about render to texture. I'm trying to use it in an > AR > > app on IPhone so I can do some post processing on my final scene etc. At > the > > moment only FRAME_BUFFER mode works and is quite slow. I know OpenGLES > > supports FRAME_BUFFER_OBJECTS I know these to be a little faster so I'll > > probably try getting these working. > > My question is, are FRAME_BUFFER_OBJECTs the fastest or should I look > into > > PIXEL_BUFFER_OBJECTs? (If there even supported) > > Or I guess has anyone already done the work for FBOs on IPhone? > > Tom > > PS > > I know I could look through the code but does FRAME_BUFFER mode use > > glCopyPixels, just curious? > > > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

