List
AR View To Bitmap
Posted Date: 2019-08-29 7:49     Edited Date: 2019-09-02 9:24     Writer: Miladdie096

Please provide your development details as below;

1. SDK Version : 4.1
2. Development Environment : Native Android
3. Tracker/Scanner :Instant Tracker
4. License Type :Free
5. Target Device(Optional) : every Device

Hi ... first of all Thank you for making is amazing AR sdk

I am trying to make app look like your "VIVAR" for my School project.

My problem is how can i get glSurfaceView (AR View) as bitmap ???

Posted Date: 2019-09-02 9:24     Edited Date: 2019-09-02 9:24     Writer: admin

Hello Miladdie096.

You can use the function glReadPixels to get the pixels drawn in gl.

In Android, you can call a function like GLES20.glReadPixels (...).

The RGB byte obtained using this function can be stored as a bitmap.

Thank you.

 

Leo

maxst Support Team