Skip to main content

Questions tagged [opengl-es]

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

1 vote
1 answer
19 views

CGContextDrawImage: invalid context 0x0. Failed to bind EAGLDrawable to GL_RENDERBUFFER 2

I'm working on a custom UIView subclass in my iOS project that involves using GLKView and CAEAGLLayer for camera rendering and applying beauty filters. The main goal is to capture video from the ...
Georgina's user avatar
  • 832
-1 votes
0 answers
25 views

Convert from android.graphics.Matrix to android.opengl.Matrix have some issues

When I try to scale, the image immediately moves to the top left corner before zooming in and panning this is my code. Link for Snapshot import android.content.Context; import android.opengl.GLES11Ext;...
Eric Pan's user avatar
0 votes
0 answers
28 views

How can we load and select the meshes(Child nodes) of glb file using Sceneform Android?

I have been trying to implement a 3D model viewer with mesh selection by referring to this project - https://github.com/SceneView/sceneform-android/tree/master/samples/3d-model-viewer. Unfortunately, ...
Asharali V U's user avatar
  • 1,049
-1 votes
1 answer
45 views

Problem with SSBO values in fragment shader

I'm writing a shader for android camera and I have an array of values that I would like to use to create an overlay. In reality it is a 2D array, but I'm setting it as 1D and just doint the math to ...
MightySeal's user avatar
  • 2,313
-1 votes
0 answers
19 views

Issues when drawing bounding box

I have used OpenGL ES 3.0 to draw some Axis-Aligned Bounding Box. However, I got some issues. Below are my source code. private void drawAABB() { setupBoundingBoxProgram(); GLES30....
Kunagisa Tomo's user avatar
0 votes
1 answer
37 views

How to efficiently upload transposed data to GL_TEXTURE_2D_ARRAY

I want to use a GL_TEXTURE_2D_ARRAY to hold a texture in OpenGL ES 3.0. I'm reading the OpenGL wiki for Array Textures and it has an example for data that is ordered by all pixels of the first image, ...
Charlie Zheng's user avatar
0 votes
0 answers
32 views

Is there a way to extract aggregated data from a OpenGL ES 2.0 shader?

Is there any way to do simple aggregated calculations over intermediate results in an OpenGL ES 2.0 shader? For example, I have a vertex shader: precision highp float; attribute vec2 vTexPosition; ...
Alfredo Tostón's user avatar
-3 votes
1 answer
279 views

Issues with GL Errors in Flutter While Running on Android

I am developing a Flutter application and encountering several GL-related errors when running it on an Android emulator. Below are the details of the error messages I am receiving: Launching lib\main....
Jhontona's user avatar
0 votes
0 answers
17 views

How to link freeglut and glew on Raspberry Pi using CMake?

I'm working with an OpenGL on Raspberry Pi OS and I'm using freeglut and glew as a window manager. I'm using CMake to build and link the project. I've installed freeglut3-dev and libglew2.2, libglew-...
Flensim's user avatar
0 votes
1 answer
114 views

ARCore: How to render the video on top of the detected images AR? [Without Using Sceneform]

I'm trying to develop an app that detects an image in AR and overlay a video on top of that image in AR. So far I have implemented the funvtionality of detecting the images using AugmentedImages ...
Tapaswi Satyapanthi's user avatar
0 votes
1 answer
26 views

Getting a lot of "Duplicate class ... found in modules assimp.jar"

I'm creating an Android app using Kotlin to read PLY files and render them using OpenGL. I found about the Assimp library and tried some approaches like building from its source (had issues creating ...
juliano.net's user avatar
  • 8,117
0 votes
1 answer
81 views

How do I extract texture data using Vulkan API at the extension/driver level?

I need to extract all textures from an application at the driver level, similar to GFXR and RenderDocs, but I am unclear on the main methodology. In Vulkan, texture data is transferred to GPU memory ...
gmmo's user avatar
  • 2,711
0 votes
0 answers
15 views

Writing custom shader for skin object in cocos2d-x v3.17

I am trying to create a custom shader for my object which has bones for skin animation. Below is my vertex shader. attribute vec4 a_position; attribute vec4 a_blendWeight; attribute vec4 a_blendIndex; ...
Richard Tran's user avatar
-2 votes
1 answer
59 views

OpenGL-ES: Rendered-FBO to GLSurfaceView

I have a Renderer processing an input image in RENDERMODE_WHEN_DIRTY mode (i.e. render once, per request). It simply applies an effect to the input image. As it required for the result-image to be in ...
Bliss's user avatar
  • 426
0 votes
1 answer
38 views

OpenGL ES on Android: How to rotate camera in response to touch events?

The Android developer guide on OpenGL ES describes how to apply a camera view transformation based on touch input (see OpenGL ES: Respond to touch events). This is basically achieved by setting an ...
goofy4224's user avatar
  • 190

15 30 50 per page
1
2 3 4 5
937