Log in or register to post comments

screen capture with 3D object

December 12, 2011 - 6:28am #1

we are working on android AR project. the application works as follows
camera starts and when the camera detects the marker, a 3D object is
overlayed on the screen, so my preview will have the camera view + virtual
3D object.
so i want to capture that screen.

i am not able to capture it, when i am trying from java files its giving me a blank image.

please suggest solutions .

Thanks and Regards
Sandeep Chandekar

screen capture with 3D object

March 8, 2013 - 12:20am #4

Hi ,

the article you refer to (https://developer.vuforia.com/forum/faq/android-how-can-i-access-th-camera-image) is meant to show how to capture the camera image (not including the 3D objects, which are instead the AR layer added on top of the camera image, using OpenGL).

If you want to capture the full image including the augmentation (3D objects), you need to use glReadPixels(), as indicated by Ksiva in the previous message. 

 

screen capture with 3D object

March 7, 2013 - 11:47pm #3

hi

 do you capture 3d object successfully? i am working on android. i can only caputer camera image. 

please https://developer.vuforia.com/forum/faq/android-how-can-i-access-th-camera-image

there are some bugs in native code . 

 

can you give me your help , thanks

Re: screen capture with 3D object

December 12, 2011 - 6:43am #2

You'll probably want to use the OpenGL glReadPixels function to get the pixel array of the camera image plus augmentation. Do a web search for "Android GL Screenshot" and find some tips in this thread: http://ar.qualcomm.at/node/2000427

- Kim

Log in or register to post comments