opengl-es Questions

3

Solved

The documentation for SCNMaterialProperty.contents states that it is an animatable property and indeed I can perform a crossfade between two colors. However I’m unable to crossfade between two imag...
Anchylose asked 20/10, 2015 at 11:9

3

Solved

I have this: float xExponential = pow(xPingPong, 5); And is not working, claiming: ERROR: 0:53: No matching overload for call to function 'pow' Am I doin' something wrong? Developing for i...
Bandicoot asked 6/5, 2012 at 15:3

3

Solved

I have a Canvas which I'm drawing to via WebGl. My Canvas is sized: 640 width x 480 height. Im drawing a simple square in the middle. However I was surprised to find that when it is drawn it looks...
Korwun asked 30/5, 2014 at 8:22

2

Solved

I'm working on an application where I would like to take a single integer input (basically a color) and, using WebGL shaders, color a box with the given input. I planned, originally, to do this wit...
Whitefaced asked 6/4, 2014 at 14:15

2

Solved

I am trying to run basic examples of OpenGL using QT Creator to give color to a window. However, I am getting error in the compilation when calling the OpenGL instruction: glClearColor(1.0,1.0,0.0,...
Retort asked 10/1, 2016 at 0:13

5

I have a situation that seems rather strange. I will try to provide enough details, so that someone smarter than me can explain this. Basically here is the setup: OS: Android 2.2 Froyo Device: SGS...
Leonorleonora asked 9/6, 2011 at 2:42

1

if (call.method.equals("createVideoRenderer")) { TextureRegistry.SurfaceTextureEntry entry = textures.createSurfaceTexture(); SurfaceTexture surfaceTexture = entry.surfaceTexture(); this.surface...
Tiro asked 23/10, 2019 at 22:21

1

To avoid writing to a constant buffer from both the gpu and cpu at the same time, Apple recommends using a triple-buffered system with the help of a semaphore to prevent the cpu getting too far ahe...
Walliw asked 10/8, 2016 at 17:3

3

I want to display some 3D models (.obj files) in an android app using android studio. The user enters some data and the models have to be placed relative to each other according to the user input....
Invest asked 26/12, 2019 at 12:32

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

0

I'm having a weird issue with my OpenGL/Skia Android Camera2 app. My Camera renders frames into a SurfaceTexture, which is a GL_TEXTURE_EXTERNAL_OES texture in OpenGL. I can then simply render this...
Insectivorous asked 30/8, 2023 at 18:23

2

Solved

I'm trying to create a Camera2 CameraCaptureSession that is capable of four outputs: On-screen preview (SurfaceView, up to 1080p) Photo capture (ImageReader, up to 8k photos) Video Capture (MediaR...
Rebellious asked 16/8, 2023 at 14:0

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

2

I came across this FxAA shader that does anti-aliasing and seems to be working quite well. But, Somehow could not understand the logic. Can someone explain? [[FX]] // Samplers sampler2D buf0 = s...
Urtication asked 24/8, 2012 at 8:0

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

2

I'm trying to build an overlay for an Android application that uses GLESv2. I've hooked eglSwapBuffers in order to insert my rending code just before the frame finishes. I'm able to do simple thing...
Ranna asked 28/8, 2022 at 2:27

3

Solved

I was confused about the VBO, glGenBuffers(1, &positionBufferObject); glBindBuffer(GL_ARRAY_BUFFER, positionBufferObject); Besides GL_ARRAY_BUFFER, there are other target types: GL_ATOMIC_C...
Moorer asked 10/2, 2013 at 21:36

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

0

Is there a good way to draw standard Android View objects on top of a GLSurfaceView and synchronize the movement between the two layers? My layout looks like <FrameLayout> <RelativeLayout...
Pierpont asked 20/1, 2023 at 14:45

2

Solved

I've been able to use AVFoundation's AVAssetReader class to upload video frames into an OpenGL ES texture. It has a caveat, however, in that it fails when used with an AVURLAsset that points to rem...
Vegetarianism asked 19/9, 2012 at 18:6

3

Solved

I am new to java and opengl and still learning so forgive me for my ignorance. I have made an looming object apk file. Now i want to view the fps as the application is playing on my device. I have ...
Stillhunt asked 13/3, 2013 at 23:11

6

Solved

I'm successfully generating my textures using GLUtils.texImage2D, but when I use the textures generated I get problems with my alpha: they are darker than wanted. after having checked several thin...
Varipapa asked 13/10, 2010 at 7:48

3

Solved

So there has been a lot of times where I needed to know what the enums returned by certain opengl operations are, to print them on the terminal to see what's going on. It doesn't seem there's any ...
Vudimir asked 16/1, 2011 at 21:29

© 2022 - 2024 — McMap. All rights reserved.