0

How can I implement finger painting using OpenGL ES in Android?

I am trying to create a drawing application in Android Studio. I had first used the Canvas method to draw on touch gestures. However, I wanted better performance along with graphics so I turned towards OpenGL ES. I followed along the tutorial provided on the Android developers website and created a simple rotating triangle when you move your finger across the screen. However, I could not find any documentations on how to implement drawing on touch gestures and being new to OpenGL ES, I don't know how to achieve this. So it would be very helpful if someone could help me. I am not able to fit all the code here so I am providing a link to the question that I had asked on StackOverflow in which I have given the code. If you need all the code then let me know, I will create a project on SoloLearn and share it's link here. Link to question on StackOverflow: https://stackoverflow.com/questions/70557246/how-can-i-implement-finger-painting-on-touch-gestures-using-opengl-es-in-android

22nd Jan 2022, 4:07 AM
Rivan
2 Antworten
0
Insert your codes in description. if possible
29th Jan 2022, 8:12 PM
ShadowCipher
ShadowCipher - avatar
0
Josh I have updated the question please have a look at the link provided and if you need all of the code then do tell me.
2nd Feb 2022, 5:34 AM
Rivan