Start a new topic

Hide camera view keeping rendering on Android

Hi,

I am using Android Javascript SDK and I am trying to hide the camera view but still keeping the 3d model rendering. Is it possible?

Thanks.


Hi,



AR.hardware.camera.enabled will also disable the tracking procedures. The only way I can think of is creating an InputPlugin that renders whatever you'd like to have instead of the camera feed (black frame?).



- Daniel

Hi,


on second though, you might actually be able to get away with a regular plugin. You should be able to simply override the `startRender` function and render a black quad over the entire screen (or whatever else you'd like to see instead of the camera feed). The SDK should then render the augmentations on top of that, if I'm not mistaken.



- Daniel

Login or Signup to post a comment