![]() ![]() It seems creating a secondary framebuffer will fail if the size differs to the main framebuffer size. ntext = initWithAPI:kEAGLRenderingAPIOpenGLES2] We want OpenGL ES 2 thank-you very much This puzzled me as I already have a OpenGL context at this time due to a: After much banging of head-to-wall I found the reason was due to the fact I was creating the secondary FBO ultimately during GLKViewController’s viewDidLoad call. Think of the way Google Earth draws the image.Īnyway, the code worked fine on OpenGL 3.3 but for some reason the FBO failed the completeness test on OpenGL ES 2 under iOS. Successive scenes merely draw the remaining portions whilst being merged with previous fragments rendered in the framebuffer. I needed the ability to render the scene to a secondary framebuffer object (or FBO) due to the way the application incrementally draws a picture over time. The project I am working on at work depends on what is inherently gaming technology even though you would think so to look at it. These parallel lines of development brought excitement and mutual benefits for each locale. OpenGL was recently added to our awareness for a project for work at a time I was dabbling with it at home. ![]() I’ve come to greatly respect OpenGL and for which it stands as I discussed in my prior post.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |