opengl-es-2.0 Questions

3

Solved

Is there any faster way to access the frame buffer than using glReadPixels? I would need read-only access to a small rectangular rendering area in the frame buffer to process the data further in CP...
Fulllength asked 3/3, 2012 at 22:7

3

Solved

Is there any faster way to access the frame buffer than using glReadPixels? I would need read-only access to a small rectangular rendering area in the frame buffer to process the data further in CP...
Steed asked 3/3, 2012 at 22:7

4

Solved

I am trying to load an .obj file into my Android application and display it using OpenGL 2. You can find the file here: EDIT: I removed the file, you can use any .obj file that contains the values ...
Viscountess asked 7/12, 2016 at 8:36

3

Solved

From what I've read, it appears that OpenGL ES 2.0 isn't anything like OpenGL 2.1, which is what I assumed from before. What I'm curious to know is whether or not OpenGL 3 is comparable to OpenGL...
Carbonization asked 9/3, 2012 at 6:33

1

So I used very similar code from official Google Grafika Sample for video processing in my own app: https://github.com/google/grafika/blob/master/app/src/main/java/com/android/grafika/ContinuousCap...
Frankfrankalmoign asked 27/9, 2020 at 10:58

4

Solved

I can't seem to find a clear answer on this, despite hours of googling. Can someone just tell me what's going on? I get errors saying things like, "version 140 is not supported." Is this my device ...
Ardithardme asked 15/1, 2012 at 18:16

1

I am trying to achieve a 30 fps screen recording (of a QML scene) while also rendering the same QML scene to my display. So far I have followed (http://blog.qt.io/blog/2017/02/21/making-movies-qml/...
Piddock asked 2/8, 2017 at 13:39

5

Solved

I'm unable to get the depth buffer working correctly on Android OpenGL ES 2.0. Regardless of what I do, the objects are always render in the order provided and completely ignore the depth buffer. ...
Austine asked 8/8, 2012 at 14:26

2

Solved

I am trying to draw a bitmap as an overlay on every frame of the video. I found an example on how to decode and encode a video and it is working. This example has a TextureRenderer class with a dra...
Velarde asked 20/9, 2016 at 8:32

3

I have a pretty complicated piece of GLSL code (about 5000 lines), different sections of which are flagged with different macros. Since the code base is large and there are many flags, it is little...
Peahen asked 19/3, 2014 at 5:17

2

Two questions really... Is GLSL ES 2 a totally separate language, or a special version of GLSL? What are the differences between them, in terms of "standard library" functions, syntax and capabi...
Telex asked 30/4, 2012 at 11:42

5

Solved

I was reading this article, and the author writes: Here's how to write high-performance applications on every platform in two easy steps: [...] Follow best practices. In the case of Android and Op...
Crackleware asked 14/12, 2011 at 17:36

3

Solved

I've been testing my OpenGL ES 2 app on various phones. I've ran into a problem with the Droid and Droid 2. Every EGL config I try results in an EGL_BAD_MATCH. I've tried many combinations of EGL...
Rodgerrodgers asked 23/9, 2011 at 2:16

5

Solved

Is it possible for me to add line thickness in the fragment shader considering that I draw the line with GL_LINES? Most of the examples I saw seem to access only the texels within the primitive in ...
Lamont asked 7/3, 2013 at 16:28

2

Solved

What happens if you bind (different textures) to both GL_TEXTURE_2D and GL_TEXTURE_CUBE_MAP in the same texture image unit? For example, suppose I bind one texture to GL_TEXTURE0's GL_TEXTURE_2D t...
Maitund asked 31/3, 2012 at 0:4

0

Trying to stream bitmaps over WebRtc. My Capturer class looks approximately like this: public class BitmapCapturer implements VideoCapturer, VideoSink { private Capturer capturer; private int wid...

6

Solved

I want to load 4-channel texture data from a file in iOS, so I consider the texture as a (continuous) map [0,1]x[0,1] -> [0,1]x[0,1]x[0,1]x[0,1] If I use the fileformat .png, XCode/iOS consid...
Endamage asked 11/11, 2012 at 22:40

1

Recently I've got all users of Samsung Galaxy S7 complaining that app crashes instantly upon start. I didn't get any crash logs from Crashlytics about this issue which was strange at least. But luc...
Offing asked 4/7, 2016 at 21:15

1

Solved

I want to use a framebuffer to create an image using a shader program. This works well, except that the Y is inverted. It seems that the bottom left corner becomes the top left corner. Why does thi...
Upheld asked 6/5, 2019 at 16:58

3

Solved

I asked for help about an OpenGL ES 2.0 Problem in this question. What seems to be the answer is very odd to me. Therefore I decided to ask this question in hope of being able to understand what is...
Scotney asked 20/9, 2013 at 20:48

2

Solved

I'm trying to use mediaCodec for creating mp4 video from openGl ES surface. I have an eglSurface, and the source surface of that eglSurface is MediaCodec input surface. I can have different sizes ...
Moorwort asked 29/9, 2016 at 16:45

1

I have two right handed coordinate systems. OpenCV As you can see with the black arrows, the camera looks down the positive $Z$ axis. You can ignore the rest of the diagram. OpenGL Although ...

1

Solved

I am working on a C program to be compiled to WASM and display an image in the browser. The point of this program is to learn to set things up using EGL, and therefore I am not interested in any an...
Pergolesi asked 25/7, 2019 at 0:13

2

Solved

I need to warp a rectangular texture to texture with polar coordinates. To spread the light on my problem, I am going to illustrate it: I have the image: and I have to deform it using shader to ...
Cantara asked 19/9, 2014 at 10:47

2

Solved

Can fragment shader in OpenGL ES 2.0 change the Z value (depth) of a pixel? How is this achieved in OpenGL ES 2.0?
Templia asked 29/2, 2012 at 17:11

© 2022 - 2024 — McMap. All rights reserved.