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

Android OpenGL weirdness with the setLookAtM method

As a beginner to android and openGL 2.0 es, I'm testing simple things and see how it goes. I downloaded the sample at http://developer.android.com/training/graphics/opengl/touch.html . I changed the code to check if I could animate a rotation of the…
jmacedo
  • 773
  • 1
  • 13
  • 24
5
votes
1 answer

Video processing on Android 3.x/Google TV/SDK: Video frame to SurfaceTexture/OpenGL/GLSL

After spending some time into it, it might be better to ask. Thanks for help, guys! Question How to render a video frame from MediaPlayer or VideoView to SurfaceTexture or a OpenGL texture, in order to change the texture/fragment color via GLSL?…
5
votes
1 answer

Why is gl.readPixels giving all 0 from Firefox?

I’m using WebGL to run some image processing (similar to Brad Larson’s GPUImage or the tutorial WebGL Fundamentals), followed by a CPU step that consumes the pixels. Unfortunately, when I call gl.readPixels, the buffer is all black in Firefox.…
yonran
  • 18,156
  • 8
  • 72
  • 97
5
votes
1 answer

Is there a way to natively access android DPI, without using JNI?

My android game uses OpenGL and Android NDK. I am currently passing the necessary dpi values as parameters, by making JNI native call from my Activity/GLSurfaceView. Currently I am using : // request an instance of DisplayMetrics, say 'dm' from…
Hari Krishna Ganji
  • 1,647
  • 2
  • 20
  • 33
5
votes
2 answers

Smooth color blending in OpenGL

I'm trying to achieve the following blending when the texture at one vertex merges with another: Here's what I currently have: I've enabled blending and am specifying the blending function as: glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); I…
kajham
  • 1,241
  • 15
  • 19
5
votes
0 answers

OpenGL ES 2.0 artifacts/dithering in FBO on Mali-400

When rendering to a frame buffer object in gles 2.0 I have some strange artifacts on the Mali-400 gpu. Problem is that some pixels have different colors than others even if I fill the whole screen with the same color. But it works fine on a Tegra2…
Schore
  • 133
  • 1
  • 8
5
votes
2 answers

Quaternion rotation does not work as excepted

In OpenGL ES 1 for android, I have a Rubic cube that consists of 27 smaller cubes. i want rotations which cause particular small cube becoming exactly in front of the viewpoint. so I need two vectors. one is the vector that comes from the origin of…
Ramin Zahedi
  • 455
  • 2
  • 6
  • 20
5
votes
1 answer

Use stencil buffer with iOS

I try to use the "stencil buffer" to display a part of my rendering from a texture, but my render is displayed without any mask effect. It's for a 2D iOS project, with OpenGL ES 2.0 This is the concerned part of my code : glClear(…
EricD
  • 587
  • 6
  • 22
5
votes
3 answers

Why is this GLView Screenshot code returning a blank/black UIImage?

I am using the following code to take a screenshot of the pixels in a GLView. The problem is, it returns a completely black UIImage. This code is being called in LineDrawer.m which is the heart of the GLView code - so it is being called from the…
James Anderson
  • 556
  • 3
  • 16
  • 41
5
votes
1 answer

Movable text in Opengl Android

How to show movable text in Android using Open GL?? Or is their any other way that show text movement without any jerk. I have tried Android animation and marquee but it was not reducing jerk. I need text moving on single line coming in from right…
Salman
  • 149
  • 7
5
votes
2 answers

IOS : UIScrollView and OpenGL

So I have a OpenGL(glView) view that is rendering a menu which I aim to scroll. I was trying to avoid reinventing the UIScrollView and so I have place a scrollview on top of the glView. The issue is that scrolling the scrollview pauses the…
Burf2000
  • 5,001
  • 14
  • 58
  • 117
5
votes
1 answer

Forcing OpenGL Buffer to use GL 1.0 or 1.1?

I've been working on a project in which a user can interact with a GLSurfaceView to draw shapes on a screen. This all works fine and dandy, but now I'm attempting to do two things: 1) create a thumbnail of their drawing, and 2) save their drawing.…
Cat
  • 66,919
  • 24
  • 133
  • 141
5
votes
4 answers

Spherical filter in android

I have to apply a spherical filter on a image in android, I have attached input and expected output image. Output image will be processed from the squared centered region of input image and mapped it to sphere. Any idea how to do this in Android.…
Manish Agrawal
  • 10,958
  • 6
  • 44
  • 76
5
votes
1 answer

Rotate ad view with API 8

I am using OpenGL in a RenderSurface View in my android game. The Game uses landscape as screen orientation but I want to place the ad 90° rotated at the bottom of the phone. (As it would be if I use portrait as screen orientation) This is the only…
Wayrunner
  • 121
  • 2
  • 5
5
votes
5 answers

Screen-to-World coordinate conversion in OpenGLES an easy task?

The Screen-to-world problem on the iPhone I have a 3D model (CUBE) rendered in an EAGLView and I want to be able to detect when I am touching the center of a given face (From any orientation angle) of the cube. Sounds pretty easy but it is not... …
RexOnRoids
  • 14,002
  • 33
  • 96
  • 136
1 2 3
99
100