On iOS device (I tried ipad1 and ipad2) glreadpixel works for the RGBA pixel format, but for BGRA pixel format it does not work. In开发者_C百科 the code below I use GL_IMPLEMENTATION_COLOR_READ_FORMAT
I have a static library Xcode 4 project that includes a home-brewed rendering engine, and I re-use this engine in multiple apps. This engine uses OpenGL ES 2.0, and by extension, shaders. As shaders g
I am attempting to setup a simple OpenGLES project that doesn\'t use the interface builder and has as minimal code as possible. From what I can tell, the code that I have put together 开发者_开发技巧s
I\'m quite new to openGL and I have been trying out some sample codes from a book about game programming on the iphone that I\'m currently reading.
Can anyone guide me for animation in opengl. I have tried using normal frame by frame animation and using canvas but i have some drawbacks as i need to merge two bitmap as single bitmap and make anima
Can I use Cg开发者_JS百科 shader language with OpenGL ES 2.0? I know that I can use GLSL with OpenGL ES 2.0 and Cg with OpenGL, but I wonder if there is Cg support for OpenGL ES.I\'m sure you\'ve fig
I just started working with OpenGL ES within Android but I suppose this could also go for other mobile platforms that use OpenGL ES. I\'ve gone over a few tutorials to get me started but I feel like t
I\'m working on an i开发者_JAVA技巧Pad app that has a few thousand particles that the user can manipulate with touches. To produce interesting designs, I want to make it so that when a particle is dra
I\'d like to render a colour texture in gray. Doing it in ES 2.0 by using a shader is a piece of cake, but is it possible to do in ES 1.x?
Android: OpenGL ES: I\'m displaying some STL files (meshes). Some are partial forms (picture part of an egg shell) where, as you rotate them, you can see either the front of the tr开发者_StackOverflow