Questions tagged [gles20]

10 questions
3
votes
1 answer

How to get Watermark and filter together on Vedio using GPUVideo-android?

I am working on video editing android application and want to apply filters and watermark together on video. I have been using GPUVideo-android lib for this https://github.com/MasayukiSuda/GPUVideo-android The problem is in this library I am not…
shashank kakroo
  • 333
  • 1
  • 3
  • 7
3
votes
2 answers

how to add timestamp like a camcorder while recording video using GLES20

I want to display date/time while recording the video and it should be displayed when we replay the videos like we do it in CCTV video recordings. i can display shapes using GLES20 i want to use text inside video to display Timestamp i am using…
bipin
  • 1,091
  • 4
  • 12
  • 30
2
votes
0 answers

Google VR double image on top of the screen bug

I am using Google VR SDK to show an image on the screen. I am encountering a strange bug when displaying the objects without distortion although it happens only on large screens (namely 5.5 inch or larger). To disable distortion I am using…
YYJo
  • 1,064
  • 1
  • 9
  • 15
1
vote
1 answer

How to add objects to draw in runtime using GLES20?

In my simple GLES20 app I'm trying to add some objects in runtime to draw. In my Renderer class I have ArrayList of Squares: private ArrayList mSquares = new ArrayList(); Here is my Square class. Square is drawing well if create it…
ashchuk
  • 331
  • 5
  • 19
0
votes
1 answer

Adding watermark on video

I created an app which records video from camera without sound 10 seconds. Thats part of program code: ... MediaCodec mMediaCodec = MediaCodec.createEncoderByType("video/avc"); mMediaCodec.configure(mMediaFormat, null, null,…
nick
  • 197
  • 1
  • 2
  • 16
0
votes
1 answer

How can i run GLES20.glReadPixels on separate thread in android?

I am currently working with ARCore to classify images and put objects on the images. But it seems like ARCore camera doesn't provide any way to get the pixelbuffer. then i came accross How to take picture with camera using ARCore and according this…
deeppandya
  • 43
  • 1
  • 8
0
votes
1 answer

3-D Rotation on any axis causes mesh skew on some but not all Android devices

I am currently working on developing a 3-D game engine for Android, and everything works fine on my Lenovo TAB 10, but rotation about any axis causes the meshes to flatten (skew) during the rotation. I don't know where to start looking since it…
Michael
  • 1
  • 2
0
votes
2 answers

Android: Camera rotation issues with GLES 20

I've moved my Camera (mViewMatrix) in the 3D Space, 15° to each angle x,y,z (with all angles 0° I have no issues with the camera rotation!) All Objects in the 3D Space are fine (shown at the right bottom of the screen). Ok, now I want to rotate…
Kyle
  • 21
  • 6
0
votes
1 answer

GLES20 Why texture data is not linked with vertices indexes?

I was trying to render a cube and apply a single texture on all faces. as well as using as little vertices as i can by passing up indexes of the vertices of the face. example: Vertices: static final float FACE_VERTEX[] = { // front …
Rami Dabain
  • 4,709
  • 12
  • 62
  • 106
0
votes
1 answer

GLES20 How to get global position of vertex after translating and rotating it

I have a vertex (Which i will not be showing/rendering in the scene) float vertex[] = { 1.0f, 1.0f, 1.0f, }; And i have a mesh, which i have translated and rotated using: Matrix.translateM(World.mModelMatrix, tmOffset, globalPositionX,…
Rami Dabain
  • 4,709
  • 12
  • 62
  • 106