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
3
votes
1 answer

Using OpenGL extensions conditionally

I'm a bit confused about how to use OpenGL extensions (specifically VBOs and draw_texture). I know you can check for them in the GL_EXTENSIONS string, but then what? If the extensions are available can I just call the relevant functions as needed or…
realh
  • 962
  • 2
  • 7
  • 22
2
votes
1 answer

How to do clipping planes on OpenGL ES 2 or 3?

On iOS or Android, I have the option to switch to OpenGL ES 2 or 3. I'm not sure why I would, as I'm not developing a 3D game, but if I were to switch, how would I implement clipping planes? These were allegedly removed in ES 2. I'd especially like…
2
votes
1 answer

OpenGL ES 1.1 on iOS: No clipping planes?

I have an earnest desire to use clipping planes, and I am currently using OpenGL ES 1.1. In theory I could upgrade to GL ES 2 or 3, I'd simply have to learn a bit more e.g. about shaders. But is there a way to do clipping planes in GL ES…
Frank
  • 45
  • 1
  • 5
2
votes
3 answers

OpenGL ES 1.1 - texture support (Power of two)

I am just about to release a wallpaper app that's going to use user's own images... which may be non power of 2 size. Textures of all size seems to be supported on my Nexus 2013 tab and Moto X 2013 in Open GL ES 1.1. My question is: Does the OpenGL…
user1148358
2
votes
1 answer

How to rotate around x and y in OpenGL ES 1.1?

I am drawing a texture with 4 vertices in OpenGL ES 1.1. It can rotate around z: glRotatef(20, 0, 0, 1); But when I try to rotate it around x or y like a CALayer then the texture just disappears completely. Example for rotation around…
openfrog
  • 40,201
  • 65
  • 225
  • 373
2
votes
0 answers

Why do some of my png files not work with mipmaps (android opengl app)

I use the following code to create mipmaps in my android app gl.glTexParameterf(GL11.GL_TEXTURE_2D, GL11.GL_GENERATE_MIPMAP, GL11.GL_TRUE); It works with most of my .png files, but some of them aren't loaded properly (appear as blank white…
Nam5hub
  • 21
  • 3
2
votes
0 answers

Thread cant't see ConcurentHashMap's elements populated by other thread in android 2.3.(5-7)

I have Map: public Map bitmaps = new ConcurrentHashMap (); One thread for decoding resources which populates bitmaps by: bitmaps.put (resource, BitmapFactory.decodeStream (input, null, options)); And second native thread which binds decoded…
BIOHAZARD
  • 1,937
  • 20
  • 23
2
votes
1 answer

GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES - Nexus 7

I'm having problem with OpenGL ES 1.0 rendering engine on my Nexus 7 - I'm trying to create frame buffer but it always return GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES, the code is as shown below: #ifdef __ANDROID__ glGenFramebuffersOES(1,…
2
votes
1 answer

Android OPEN GL ES multi-texturing draws nothing

I am new to this OpenGL ES stuff, I am trying to draw a rectangle using multi-texturing but it does not show anything I dont know what is wrong with this. Any Suggestions or ideas will be very helpful to me. Here is my code: What I have done is…
Renjith K N
  • 2,613
  • 2
  • 31
  • 53
2
votes
1 answer

How to do multi-texturing using open gl es 1.1 in Android

What I have done Currently in my Android app I am drawing rectangles with two different textures There is a fade in (changes the alpha ) animation for one texture (for the second one ) is given. What I Want. I want to use multi - texturing thus …
Renjith K N
  • 2,613
  • 2
  • 31
  • 53
2
votes
1 answer

glGenTextures not generating names

I am using OpenGL ES 1.1 with the NDK and occasionally when I call glGenTextures it does not change the value of name holder that I pass in (doesn't even set it to 0). glGetError returns 0, no error. All GL code is in a JNI method called from…
DrYap
  • 6,525
  • 2
  • 31
  • 54
2
votes
0 answers

How to create a textured plane in libgdx

I come from the FlashBuilder, Flex, Flash development area and am trying to work out how to get into Android Development via LibGDX. I have got my environment setup, learned some of the basics, but am now having an awkward time working out how to…
Darcey
  • 1,949
  • 1
  • 13
  • 22
2
votes
1 answer

How do you render a texture without being affected by glColor?

My texture itself has a transparent background, and I would like to render it as-is.…
Some Noob Student
  • 14,186
  • 13
  • 65
  • 103
2
votes
1 answer

How to use vertex buffers in android and opengl es 1.1

I spend almost whole day trying to render simple polygon using opengl 1.1 and vertex buffers, but no luck. I searched and searched, but I haven't found much. This is what i have so far: public class Polygon { int bufferId = 0; private…
beegor
  • 251
  • 1
  • 3
  • 13
2
votes
1 answer

Android, OpenGL ES 1.0, Alpha

I'm new with OpenGLES and I was trying to draw a rectangle with alpha but alpha not being effected on screen. Please help me to figure out where I'm out of the…