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

Uniform versus attributes in GLSL ES

I have some parameters being passed from CPU to GPU that are constant for all fragments but which change on every frame (I'm using GLSL ES 1.1). Should I use uniforms or attributes for such values? Attributes can vary from vertex to vertex so my…
Alex Flint
  • 6,040
  • 8
  • 41
  • 80
5
votes
1 answer

android OpenGLES 1.x CameraPreview to Surfacetexture

I am trying to send the camera preview to a surfacetexture object and render it on a square. I have running code for GLES20 but didnt find anything for 1.x. Basically it should work like this, right? // setup…
J-S
  • 425
  • 3
  • 17
5
votes
1 answer

Android opengl white textures on Samsung Galaxy variant

I get white textures on the samsung galaxy variant but on the other phones that i tested the textures are working just fine .So my questing is what is the usual suspect that causing such behavior? is the galaxy variant having any special hardware…
SteveL
  • 3,331
  • 4
  • 32
  • 57
4
votes
1 answer

Android OpenGL ES 1.1: Read from Stencil Buffer

Using Android OpenGL ES 1.1 (HTC Desire)... The problem I have in general is this: I have various 3D objects rendered in a complex scene. I want to check if the user has clicked on a particular object. This object may be partially hidden and…
chris
  • 1,731
  • 4
  • 26
  • 33
4
votes
1 answer

How can I track a point on a texture in OpenGL ES1?

In my iOS application I have a texture applied to a sphere rendered in OpenGLES1. The sphere can be rotated by the user. How can I track where a given point on the texture is in 2D space at any given time? For example, given point (200, 200) on a…
user2393462435
  • 2,652
  • 5
  • 37
  • 45
4
votes
1 answer

Why does this minimal code fail to draw textured triangles with OpenGL ES 1.1?

I'm trying to render a 512 * 512 texture onto a 256 * 256 square composed of two triangles. The goal is to learn how to draw a textured rectangle of two triangles in OpenGL ES 1.1 with the least minimal amount of code possible. EXC_BAD_ACCESS:…
openfrog
  • 40,201
  • 65
  • 225
  • 373
4
votes
2 answers

OpenGL ES2.0 Modelview matrices 2D

Migrating from OpenGL ES1.1 to 2.0 for 2D purposes (orthographic), and I'm having a little trouble figuring out how apply transformations (matrix multiplication order). I only need rotation on the Z-axis, and scaling on X and Y which is the always…
user1137704
  • 349
  • 1
  • 3
  • 12
3
votes
1 answer

textures not loading on certain phones

I had a couple user report white blocks on their screens, and im unsure whats causing this issue. It seems to work fine on most phones but im unsure what the problem could be. (known to not be working on the Galaxy Nexus and Droid Pro, but works…
jfisk
  • 6,125
  • 20
  • 77
  • 113
3
votes
1 answer

How do I implement glPushAttrib(GL_CURRENT_BIT) in OpenGL ES 1.x

I'm trying to modify my OpenGL project to OpenGL ES 1.x. But there is a function call I can't find any solution for me to replace it. glPushAttrib(GL_CURRENT_BIT | GL_LIGHTING_BIT | GL_COLOR_BUFFER_BIT | GL_ENABLE_BIT ); I can't find GL_CURRENT_BIT…
Tony Teng
  • 105
  • 8
3
votes
2 answers

glEnable(GL_DEPTH_TEST) not working?

when I enable the lighting in the opengl es, I suddenly found the depth test fails to work. It looks some object is transparent after some rotation. Handle should be invisible from this angle. I am using glEnable(GL_DEPTH_TEST) in the beginning. I…
Adam Lee
  • 24,710
  • 51
  • 156
  • 236
3
votes
0 answers

White OpenGL ES 1 pot textures on Galaxy Nexus

It seems my power-of-2 textures show up completely white. This application works on various devices, even Nexus 7 but Galaxy Nexus phone seems to produce white textures. This is probably related to PowerVR gpu. I can interact with the app,…
Grapes
  • 2,473
  • 3
  • 26
  • 42
3
votes
2 answers

glReadPixels on iOS with multisampling

I'm trying to get pixels from framebuffer with multisampling. It returns only zeros. I do call glResolveMultisampleFramebufferAPPLE as suggested here and here, but I can not figure out whats the problem in my case. first of all I create…
medvedNick
  • 4,512
  • 4
  • 32
  • 50
3
votes
1 answer

Texture on quad rendered using vertex buffer objects only half transparent

I'm converting some code from OpenGL 1.3 to OpenGL ES 1.1. It's a 2D game, so it mostly comes down to rendering textures onto quads. There is no immediate mode in OpenGL ES, so I had to use vertex buffer objects instead. But it seems like only one…
futlib
  • 8,258
  • 13
  • 40
  • 55
3
votes
1 answer

Function 'glDrawTexfOES' could not be resolved

I'm creating a native android project using eclipse. I'm using opengl es 1.1. I get this error when using a function from the glext.h file Function 'glDrawTexfOES' could not be resolved I'm using a function from gl.h right before i call the…
iedoc
  • 2,266
  • 3
  • 30
  • 53
3
votes
1 answer

OpenGL ES - How to Batch Render 500+ particles w/ different alphas, rotations, and scales?

I am developing an iOS game that will need to render 500-800 particles at a time. I have learned that it is a good idea to batch render many sprites in OpenGL ES instead of calling glDrawArrays(..) on every sprite in the game in order to be able to…
BigSauce
  • 1,830
  • 3
  • 21
  • 27
1
2 3 4 5 6 7 8