Skip to main content

Questions tagged [opengl-es-2.0]

Subset of the OpenGL 3D graphics API designed for embedded devices such as mobile phones. This version 2.0 eliminates most of the fixed-function rendering pipeline in favor of a programmable one.

opengl-es-2.0
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
0 votes
0 answers
18 views

Creating multiple figures with different color OpenGl

I have code that creates multiple I-beams in different position when i try to make every beam have random color it paint wrong part in wrong color import pygame from pygame.locals import * ...
Koty's user avatar
  • 11
-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
0 answers
21 views

How to rotate model and view matrix with same angle?

I'm writing a OpenGL program, Model is sphere, and the camera is at the center of the sphere, now I want to rotate the sphere around the center by a specified euler angle, and also rotate the camera ...
sunjinbo's user avatar
  • 2,187
1 vote
1 answer
70 views

Is there a projection matrix with a perspective projection in the x direction and an orthographic projection in the y direction?

I'm looking for a projection matrix with a perspective projection in the x direction and an orthographic projection in the y direction, like the one in the picture, does this exist? I tried to do that,...
smart longer's user avatar
0 votes
0 answers
24 views

JOGL z-buffer rendering problems

I wrote a Java/JOGL program to build a wall with lots of bricks. I wrote this program in 2009 with JOGL 1.x I updated it this year with JOGL 2.5 I have big display problems, as if there was a problem ...
Nassa's user avatar
  • 39
0 votes
0 answers
34 views

Triangles not getting rendered with color with color array added along with vertices

#include <GLFW/glfw3.h> #include <GLES2/gl2.h> #include <unistd.h> #include <stdio.h> GLfloat vertices[] = { 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, ...
Gopikrishnan's user avatar
0 votes
1 answer
123 views

How to render android.media.Image using OpenGL ES in Android

I am using MediaCodec to decode a video, for some reason I cannot config the codec with a Surface. So I render the video using EGL. Here is my render logic. videoDecoder.setStateListener(object : ...
White Three's user avatar
-1 votes
1 answer
42 views

Ogre3D texture being rendered in black color on OpenGL ES 2 (both iOS and Android)

I'm not knowing so much about CG/OpenGL, so I want to ask an issue about what I faced. On Ogre 's RenderSystem_GL or RenderSystem_GLES2 or RendererSystem_GL3+ running on Windows are result nice output ...
Dark.Hades's user avatar
0 votes
1 answer
72 views

Enabling GL EXT_blend_minmax

According to this MDN page EXT_blend_minmax has been supported since Chrome 38 and Firefox 47. I'm trying to use it from Three.js. However, it doesn't work for me with either latest Chrome or latest ...
aggregate1166877's user avatar
1 vote
1 answer
189 views

How to detect click on objects in OpenGL ES 2.0

I need the program to detect when I click on the drawn object How can this be done in OpenGL ES? I get an array of coordinates and draw them on the field. I should be able to click on rendered points, ...
g3ryyy's user avatar
  • 21
0 votes
0 answers
37 views

The texture is not displayed or is displayed wrong

Initially, I drew a triangle and used color. Now I have replaced the color with a texture, fixed the code, and here it starts: On the emulator I see the texture in full screen, although I limit it to ...
ladno's user avatar
  • 1
0 votes
1 answer
254 views

Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 14795 (GLThread 39), pid 14605 (.example.opengl)

I am getting the following error Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 14795 (GLThread 39), pid 14605 (.example.opengl) while i am trying to create a 3D parallax ...
Mehmood Mir's user avatar
0 votes
1 answer
138 views

Texture Coordinates not working correctly in OpenGL ES 2.0

I am trying to apply part of a big image to a rectangle in OpenGL ES 2.0 I have this big texture sheet or sprite sheet. Each image is 32x32. The Full Image is 192x32. Loading the Texture ...
Techie-Guy's user avatar
1 vote
1 answer
805 views

Draw YUV frames on GL/Surface/TextureView

I have some callback called in own Thread (not main) continously, as this is 1920 x 1088 (yep, 88), 30 fps video: @Override public void onYuvDataReceived(MediaFormat mediaFormat, ByteBuffer byteBuffer,...
snachmsm's user avatar
  • 18.9k

15 30 50 per page
1
2 3 4 5
261