android - HTC Evo 3D - Autosteroscopic camera image + OpenGL overlay -


we use htc evo 3d , trying 3d overlay (a cube drawn opengl es) in autostereoscopic mode on autostereoscopic drawn preview image of camera, not work. can have camera view (either 2d or 3d) or can have opengl cube in 3d mode, when try combine both things, either whole device freezes (with "w/sharedbufferstack(11043): waitforcondition(lockcondition) timed out (identity=425, status=0). cpu may pegged. trying again.") or see camera image no overlay.

for freezing thing read information on web , seems there no real solution patching kernel focussing on other issue @ moment. have s3dglsurfaceview extends glsurfaceview , enable 3d support calling

surface surface = holder.getsurface(); formatresult = displaysetting.setstereoscopic3dformat(surface,                       displaysetting.stereoscopic_3d_format_side_by_side); 

and on view draw our cube (which works perfectly, when add view our activity). then, have camerapreview object encapsulates surfaceview give stereoscopic camera calling

camera = camera.open(camera_stereoscopic); camera.setpreviewdisplay(holder); 

where holder stored preview.getholder() preview being our surfaceview. activity use relativelayout, first add camera preview , afterwards opengl-surface - tried other way round not change anything. tried experiment z-order had no effect.

currently, our idea is not possible have 2 views both have autostereoscopic mode enabled (the camera preview has automatically , our opengl surface enable manually) have hope wrong , miss else.

it great if give hint how can have 3d overlay on 3d camera image - both in autosterescopic mode.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -