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
0
votes
0 answers

ran out of vram while creating opengles1.1 texture view

I used the below code from the link to create the opengles1.1 texture-view . My app has like a view which few buttons with 3D models names if user clicks the button a new texture view is created. If back is clicked user will be back the texture…
0
votes
0 answers

How to blend 2 textures into a third specific color in opengl es

I am trying to do a little bit of a design on a little program for android. I am using OpenGL ES1 for this. I am drawing 2 quads on the screen. When the quads intersects the must show a third color. Like this: http://www.marlonbodhi.com/mix.jpg So…
0
votes
1 answer

Which OpenGL ES 1.1 alpha blending configuration to use on iOS?

If you want to achieve a blending of textures with transparency (like PNG) that is similar to UIKit, how do you configure OpenGL ES 1.1 appropriately? I found: glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA,…
openfrog
  • 40,201
  • 65
  • 225
  • 373
0
votes
1 answer

How to define order when drawing 2D triangles in OpenGL ES 1.1?

I'm drawing triangles with only x and y coordinates per vertex: glVertexPointer(2, GL_FLOAT, 0, vertices); Sometimes when I draw a triangle over another triangle they seem to be coplanar and the surface jerks because they share the exact same…
Proud Member
  • 40,078
  • 47
  • 146
  • 231
0
votes
1 answer

How to Blend two texture in OpenGL ES 1

Because ETC textures not supporting alpha channel, I tried to blend two ETC texture. Anybody of you know how to translate this into open gl es 1.x varying mediump vec2 uv0; uniform sampler2D texture; uniform sampler2D texture_alpha; void main() { …
0
votes
1 answer

Does GameKit support drawing simple triangles with vertices like you can do in OpenGL ES 1.x?

I am a bit confused about OpenGL ES and GameKit. So far I have always used OpenGL ES 1.x which I think is dubbed "fixed-function pipeline". GameKit works with OpenGL ES 2.x which seems to be much more complex and seems to lack all the handy drawing…
openfrog
  • 40,201
  • 65
  • 225
  • 373
0
votes
2 answers

OpenGL ES 2D on Samsung 4 - no textures on the screen

I have Nexsus 4 and several HTCs and my game works fine. When I launch on Samsung 4 I see white rectangles (empty textures), no errors, Further, my game uses sensors but I see on Samsung 4 it doesn't work too, but Samsung 3 - works, please…
Maxim Shoustin
  • 77,483
  • 27
  • 203
  • 225
0
votes
2 answers

iOS openGL ES 1.0, failed to render Texture2D

I use the openGL ES 1.0. After decoding stream data, it is changed to RGBA bits. And then I transfer RGBA bytes to 'renderer' method with parameter. the renderer method is called by each frame routines. Because RGBA bytes are changed every…
0
votes
1 answer

GLThread not starting when calling onResume on GLSurfaceView

I'm writing a game in OpenGLES 1.1 (Using Android static API (GLES11)), and everytime my game activity goes to background (press Home), it comes back in a black screen. I know that the textures and resources have been lost, but the main issue is…
0
votes
0 answers

slow alpha blending opengl es 1.1

I have looked over quite a few forums, but have been unable to increase the fps on ipad retina. I currently get 40 fps and am targeting 60. I am using orthographic projection for my 2d game. I have to draw 1 opaque background, 3 transparent…
charak
  • 187
  • 3
  • 15
0
votes
3 answers

Blending issue porting from OpenGLES 1.0 to 2.0 (iOS)

I'm porting a very simple piece of code from OpenGLES 1.0 to OpenGLES 2.0. In the original version, I have blending enabled with glEnable(GL_BLEND); glBlendEquation(GL_FUNC_ADD); glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); I'm using the same code…
0
votes
1 answer

How to set blend function on opengl for two overlapping objects

Hi I needed to draw a round corner rectangle. I followed the procedure of the above image. I first drew the green rectangle. Then I drew the two black rectangles.And then I drew circles on the edges to make the corner round. Now what I get after…
Tahlil
  • 2,680
  • 6
  • 43
  • 84
0
votes
1 answer

OpenGL ES 1.1 Object not showing till screen is refreshed (by tilting device)

I have some code, here is most of it: class Cube { public Cube() { ... ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length * 4); vbb.order(ByteOrder.nativeOrder()); mFVertexBuffer = vbb.asFloatBuffer(); …
jaysonpowers
  • 290
  • 2
  • 3
  • 16
0
votes
1 answer

OpenGL debugging

When I write OpenGL (1.0) programs for Android, I found it not easy to debug my programs. OpenGL is just a fixed pipeline of several steps which process vertex coordintates. Is there any way to peek and see what are results of consecutive steps of…
user983447
  • 1,598
  • 4
  • 19
  • 36
0
votes
1 answer

I'm getting an error "Consumer closed input channel" ES 1.1

I'm stumped on this error: .MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8 The project compiles and begins to run, I looked at other people having this error and it seems to happen sometimes when your…
jaysonpowers
  • 290
  • 2
  • 3
  • 16