Questions tagged [opengl-es-1.1]

Subset of the OpenGL 3D graphics API designed for embedded devices such as mobile phones. Version 1.1.

Resources:

120 questions
2
votes
1 answer

OpenGL ES 1.1 Combine two textures into one reusable texture

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…
user1318504
  • 608
  • 1
  • 6
  • 11
1
vote
1 answer

Feasible to rewrite GLPaint with OpenGLES2 instead of OpenGLES1

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…
Forrest
  • 122,703
  • 20
  • 73
  • 107
1
vote
1 answer

Offscreen rendered texture renders empty rectangle on screen

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,…
Aleksejs Mjaliks
  • 8,647
  • 6
  • 38
  • 44
1
vote
1 answer

Moving an object along with mouse

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 =…
Abhishek
  • 71
  • 8
1
vote
1 answer

OpenGL ES 1.1 2D (iPhone): Resizing a group of textures/rectangular objects

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…
Alterecho
  • 665
  • 10
  • 25
1
vote
1 answer

Does glBindBuffer invalidate previous gl*Pointer calls?

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 */…
user542687
1
vote
2 answers

Call gluLookAt() for each item to be drawn?

pseudo code : drawScene() { for(every 3Dobject) { glMatrixMode(GL_MODELVIEW); glLoadIdentity(); gluLookAt(eye, targ, up); //is there a better way? 3Dobject[n].draw(); //this involves calling translations /…
jason
  • 4,721
  • 8
  • 37
  • 45
1
vote
1 answer

OpenGL ES How to Correctly Combine Orthof and Frustum

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…
PhilBot
  • 748
  • 18
  • 85
  • 173
1
vote
1 answer

Android: Creating blurred texture using blending in OpenGL 1.1

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…
occulus
  • 16,959
  • 6
  • 53
  • 76
1
vote
0 answers

copy part of a texture to another 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…
danca
  • 509
  • 4
  • 11
1
vote
2 answers

OpenGL ES 1.1 on Android: Q texture coordinate not having any effect

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…
occulus
  • 16,959
  • 6
  • 53
  • 76
1
vote
0 answers

How to load font file from assets when use android ndk

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 =…
no name
  • 51
  • 6
1
vote
2 answers

OpenGL ES 1.1 iPhone5+ IOS 8 Black Screen

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…
Kevin K
  • 35
  • 6
1
vote
1 answer

Translating OpeGLES1.1 fixed function pipeline to programmable pipeline on the fly

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…
Divick
  • 1,213
  • 1
  • 20
  • 44
1
vote
1 answer

Android: Called Unimplemented OpenGL ES API at glMapBufferOES for OGL ES.1.1

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)…
Jserra
  • 159
  • 1
  • 9