Tastenkunst / brfv5-browser

Beyond Reality Face SDK - BRFv5 - Platform: Browser
229 stars 48 forks source link

Getting blank image while doing HTMLCanvasElement.toDataURL() on id='__brfv5__image_canvas,__brfv5__texture_canvas,__brfv5__threejs_canvas'' #15

Closed ankitcsr closed 4 years ago

ankitcsr commented 4 years ago

Hi, I want to capture image of 3d model in three js model overlay. I tried to convert canvas (id='brfv5image_canvas,brfv5texture_canvas,brfv5threejs_canvas'') to image (using HTMLCanvasElement.toDataURL()) but I am getting black image.

MarcelKlammer commented 4 years ago

I think I had the same issue before. Try to render the scene explicitly before taking the snapshot.

ankitcsr commented 4 years ago

Brf is not initializing, showing error 400 at https://www.beyond-reality-face.com/lc

MarcelKlammer commented 4 years ago

Adloid?

If yes, write me an email please. If no, which URL?

ankitcsr commented 4 years ago

at info@tastenkunst.io ?

MarcelKlammer commented 4 years ago

Yes.