hi there

I am trying to write a program to process camera preview data on-the-
fly, and display the results as (semitransparent) overlays.

I found one example that is particularly useful:

    http://nhenze.net/?p=172

the source code is at http://nhenze.net/uploads/OpenGL_Cam_1_2.zip

In this sample, two Views are used, one SurfaceView for camera preview
(CamLayer.java), one GLSurfaceView for showing the processed image
(GLLayer.java). Unfortunately, the sample code maps the image to a
rotating cube, while in my case, I just need to match the view with
the camera preview in the background.

I am new to OpenGL. I am wondering if there is a simple way to display
a 2D texture on a GLSurfaceView that matches the preview SurfaceView?

Appreciated if there are any suggestions.

Qianqian

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to