How can I use OpenGLES 1.1 (iPhone) to draw a texture, but only using the alpha to draw some color? The result should be the exact same alpha mask from the original texture, with a single solid color
I am writing a GLPaint-esque drawing application for the iPad, however I have hit a stumbling block. Specifically, I am trying to implement two things at the moment:
Using Open GL ES 2.0, I want to create a large grid of squares, where 开发者_C百科each square can take a certain color as specified by a definition file. So this is not a simple checkerboard of only b
I\'m planning to develop a 2D game for Android devices without a dedicated GPU, like the HTC Wildfire. I remembe开发者_JAVA百科r from the PC that OpenGL is generally to be chosen over something like S
I am drawing a PIE char in Iphone, with OPENGL ES. Now I need to check the color of the pie where user clicked. When I click any pie, it sometimes returns correct values, and sometimes not correct, an
Is there a way to detect if the alpha of a pixel after drawing is not 0 when using OpenGLES on the iphone?
I\'ve been trying to get OpenGL-ES to do something roughly like the following to see if glPushMatrix() and glPopMatrix() could be used to put things such as blending states back how they were before g
How do I set up an xml layout where an OpenGL view is part of it?As I do now is set the OpenGL view as the only view with setContentView().But I would like to create an xml l开发者_JAVA技巧ayout that
I\'m trying to view some 3d geometry in a custom ipad application I\'m writing. Problem I\'m running into is that as I zoom, pan and rotate my model, the edges get clipped, and I\'m not sure why. I do
What exactly are the 开发者_高级运维restrictions on sprite sheets? The API-reference says this: