Questions tagged [opengl-es]

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

OpenGL for Embedded Systems (OpenGL ES) is a subset of the OpenGL 3D graphics API designed for embedded devices such as mobile phones, PDA's, and video game consoles. OpenGL ES is managed by the not-for-profit technology consortium, the Khronos Group, Inc.

Current version is OpenGL ES 3.2 (), publicly released in August 2015.

OpenGL ES 2.0
OpenGL ES 2.0 eliminates most of the fixed-function rendering pipeline in favor of a programmable one. Almost all rendering features of the transform and lighting pipelines, such as the specification of materials and light parameters formerly specified by the fixed-function API, are replaced by shaders written by the graphics programmer. As a result, OpenGL ES 2.0 is not backwards compatible with OpenGL ES 1.1.

OpenGL ES 3.0
The latest major version is the OpenGL ES 3.0 specification, publicly released in August 2012. OpenGL ES 3.0 is backwards compatible with OpenGL ES 2.0, enabling applications to incrementally add new visual features to applications.

More information at

  1. Khronos Official page
  2. Wikipedia page on OpenGLES
  3. Khronos OpenGL ES Registry

Books:

14058 questions
15
votes
1 answer

How does the method Matrix.setLookAtM work in OpenGL ES?

How does Matrix.setLookAtM work? I've been searching all over, and can't find an explanation. I understand that the first three coordinates are to define the location of the camera in the world space, and I take it that "center of view" means the…
xtraorange
  • 1,456
  • 1
  • 16
  • 37
15
votes
4 answers

Can I use OpenGL ES in a Windows Phone 8 app?

I've read places that Windows Phone 8 will not support OpenGL, and I'm unable to find anything useful in the SDK. So am I or will I ever be able to use OpenGL (ES) in my Windows Phone 8 game? I have a game I would like not to rewrite completely to…
Matsemann
  • 21,083
  • 19
  • 56
  • 89
15
votes
1 answer

iOS - How to draw a YUV image using openGL

Currently, I am trying to draw an image using openGL (the image updates very often, and thus must be redrawn). Previously, I was converting my image from YUV to RGB, and then using this new image to draw with openGL. All worked fine, but the…
Doc
  • 1,480
  • 2
  • 16
  • 28
15
votes
11 answers

Eclipse Android Emulator won't launch

I have installed Eclipse 4.2 with Eclipse android plugin(ADT)on ubuntu 11.10. when i launch "Hello World" project as an android application, it simply wont launch! ps -x > log.txt after launching the emulator, output: 1000 7221 20.0 0.6 16884…
tutak
  • 1,120
  • 1
  • 15
  • 28
15
votes
2 answers

Android: When is OpenGL context destroyed?

On android, the GLSurfaceView documentation says this: A GLSurfaceView must be notified when the activity is paused and resumed. GLSurfaceView clients are required to call onPause() when the activity pauses and onResume() when the activity…
Damian
  • 5,471
  • 11
  • 56
  • 89
15
votes
6 answers

How to draw a solid circle with cocos2d for iPhone

Is it possible to draw a filled circle with cocos2d ? An outlined circle can be done using the drawCircle() function, but is there a way to fill it in a certain color? Perhaps by using pure OpenGL?
Reinout Roels
15
votes
1 answer

Drawing a sphere in OpenGL ES

I want to draw a sphere, I know how to do it in OpenGL using calls such as glBegin() & glEnd(). But there is nothing in ES. Suggestions/Tutorial links?
HungryCoder
  • 1,029
  • 2
  • 10
  • 16
15
votes
5 answers

Where can I find an iPhone OpenGL ES Example that responds to touch?

I would like to find an iPhone OpenGL ES Example that responds to touch. Ideally it would meet these requirements: Displays a 3D object in the center of the screen like a cube Maps a texture to the cube surfaces Should move the camera around the…
Jamey McElveen
  • 18,135
  • 25
  • 89
  • 129
14
votes
2 answers

OpenGL vs Cocos2d: What to choose?

I understand that cocos2d it's really simple API, and that I can use it to do simple and huge 2D or even sometimes 3D games/applications. As well I understand that OpenGL it's more complicated, it's lower level API etc. Question: What is better for…
Anatoliy Gatt
  • 2,501
  • 3
  • 26
  • 42
14
votes
3 answers

Getting default frame buffer id from GLKView/GLKit

I use GLkit/GLKView in my IOS OpenGL ES 2.0 project to manage default FBO/life cycle of my app. In desktop OpenGL in order to bind default FBO (the front buffer) I can just call glBindFrameBuffer(GL_FRAMEBUFFER,0) but this is not the case in IOS app…
xanagan gtx
  • 143
  • 1
  • 4
14
votes
1 answer

OpenGL ES drop shadows for 2D sprites

I've got a an OpenGL scene rendered with a bunch of sprites, and I'd like to automagically add drop shadows to all of them. Here's a picture showing what I mean: The scene uses orthographic projection, the sprites are textured quads, and I'm using…
Josh
  • 10,618
  • 2
  • 32
  • 36
14
votes
2 answers

Best way to separate game logic from rendering for a fast-paced game for Android with OpenGL?

I've been studying and making little games for a while, and I have decided lately that I would try to develop games for Android. For me, jumping from native C++ code to Android Java wasn't that hard, but it gives me headaches to think about how…
Gustavo Maciel
  • 652
  • 7
  • 20
14
votes
2 answers

how to use android camera with OpenGL ES to work?

I want to use the OpenGL ES for the Android camera preview and Save the captured Image. I like to use the OpenGL ES in Android camera to give some effect to the Android camera. So please anyone tell me how to do it?
14
votes
2 answers

How to fill each side of a cube with different textures on OpenGL ES 1.1?

Please, I need tutorials/code examples of how to fill each side of a cube with different textures on OpenGL ES 1.1 I found a lot of tutorials but none of them explain clearly how to put different textures in each face and none of them gives easy…
NullPointerException
  • 36,107
  • 79
  • 222
  • 382
14
votes
5 answers

Is it possible to rotate an object around its own axis and not around the base coordinate's axis?

I am following the OpenGL es rotation examples from google to rotate a simple square (not a cube) on my Android App, for example this code: gl.glRotatef(xrot, 1.0f, 0.0f, 0.0f); //X gl.glRotatef(yrot, 0.0f, 1.0f, 0.0f); //Y gl.glRotatef(zrot,…
NullPointerException
  • 36,107
  • 79
  • 222
  • 382