In OpenGL ES 1.1, I would like to take multiple texture Ids and combine them into a single textureId. Then I would be able to use this resulting texture multiple times in the future. My texture sources could be transparent PNGs that I want to stack…
I am quiet new to opengl stuff but still have a little sense of opengl es 1.x and 2.x
GLPaint is a opengles1.x sample to draw with finger. As we know OpenGL ES 2.0 is quite different with ES 1.x, my question will be is that feasible to implement…
I'm trying to create OpenGL ES 1.1 texture and fill is with rendered content.
Preparing a texture:
glGenTextures(1, &texture);
glBindTexture(GL_TEXTURE_2D, texture);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,…
i have drawn an square,now i want to move it along the plane following the mouse pointer.I am using open GL es 1.0.I tried to get difference in motion position with the below code:
@Override public boolean onTouchEvent(MotionEvent e) {
float x =…
I'm trying to resize whats being displayed by OpneGL ES on the screen by a factor equally.
More clearly, i'm trying to resize a layer by a factor, so that all the objects associated with that layer are resized by that factor.
-Suppose i have 2…
I would like to work my code like this:
glVertexPointer( 3, GL_FLOAT, sizeof( Vertex ), (GLvoid*)offsetof( Vertex, Position ) );
glColorPointer( 4, GL_UNSIGNED_BYTE, sizeof( Vertex ), (GLvoid*)offsetof( Vertex, Color ) );
for ( /* each buffer */…
I am beginning to learn OpenGL ES 1.1 for iPhone and would like to draw a 2D image in orthographic projection behind a few 3D objects. Using Jeff Lamarche's tutorials and the book Pro OpenGL ES for iPhone and I've come up with the following couple…
Has anyone had much success on Android with creating blurred textures using blending to blur a texture?
I'm thinking of the technique described here but the crux is to take a loaded texture and then apply a blur to it so that the bound texture…
I'm starting to learn about android game programming and came across a problem I haven't found a working solution for so far. Basically I'm trying to draw a tiled background to a texture and then just draw that texture once every frame instead of…
I'm developing an OpenGL ES 1.1 app for Android (with the OpenGL calls being made from C code called via NDK).
My problem is that I'm trying to use the Q texture coordinate as well as the usual (S, T) texture coordinates. However, nothing I put…
I succeeded in loading ftgles library on android.
But I can not rendering fonts.
I think that it has problem when load the font file (.ttf file)
How could I load the font file from assets?
this is initialize part
AAssetManager* manager =…
recently I decided to pick up a game development project again that I started several years ago to submit to the iOS app store. I found out that my app displays a black screen on the iPhone5s and up even though it operates okay. I have a iPhone 3GS…
Is it possible to emulate the completed fixed function pipeline with shaders on the fly? By on the fly mean not rewriting the fixed function code to use shaders but sort of an intermediate driver which receives fixed function GLES calls (possibly…
I am working on a port from iOS to Android NDK of an OpenGL ES 1.1 app.
I tested the port with my Nexus S device and it works fine, but as I tested it on newer devices (Nexus 4 and 5, for instance, but for other newer devices it happens the same)…