I'm trying to find simple examples of using OpenGL with Camera preview. Help me with code examples.
Asked
Active
Viewed 227 times
0
-
Possible duplicate of [How to show camera preview by opengl](https://stackoverflow.com/questions/21902490/how-to-show-camera-preview-by-opengl) – YesThatIsMyName May 04 '18 at 07:56
-
these samples don't work – Geraldika May 04 '18 at 08:22
-
Mabye [this site](https://digitalbreed.com/2009/11/14/android-render-opengl-on-top-of-camera-preview/) can help you? – YesThatIsMyName May 04 '18 at 08:52
-
this sample explains how to use Camera (v1) & OpenGl10. I need samples Camera (v2) & OpenGl20. – Geraldika May 04 '18 at 08:55
-
1They "don't work" for you because you need to start learning from the basics of OpenGL ES, linear algebra and geometry math; only when you have grasped those topics can you then move on to write and debug the code you want. Letting people here do research for you, only for you to reject it for some specific reason, is not what SO is for. – meowgoesthedog May 04 '18 at 11:09
-
@meowgoesthedog i just ask about Rendering OpenGL on top of camera preview – Geraldika May 04 '18 at 11:50
-
At this point, perhaps you should pay a visit to [How to Ask](https://stackoverflow.com/help/how-to-ask). – meowgoesthedog May 04 '18 at 13:22
1 Answers
1
Luxand FaceSDK contains samples for Android using OpenGL to draw image from camera - you can look at the code.

Anton Malyshev
- 8,686
- 2
- 27
- 45