google-ar / sceneform-android-sdk

Sceneform SDK for Android
https://developers.google.com/sceneform/develop/
Apache License 2.0
1.23k stars 604 forks source link

how to use torch? #378

Open DingLoveYing opened 6 years ago

malik-at-work commented 6 years ago

Hi we aren't sure whats being asked here. Can you provide more detail?

DingLoveYing commented 6 years ago

Hi we aren't sure whats being asked here. Can you provide more detail?

I'm using arcore, but the light is dark, I want to turn on the flash light, however I can't get the camera object . Arcore is using camera ,i want to use this camera , how to get this camera object?

malik-at-work commented 6 years ago

Ah turning on the flashlight/torch isn't really a sceneform operation. Perhaps this question on stack overlow can help: https://stackoverflow.com/questions/6068803/how-to-turn-on-front-flash-light-programmatically-in-android

A note on this however, I don't think the flashlight is going to be enough light to let ArCore work in a dark situation. Your results are going to depend on how much ambient light there is.

luckcoolla commented 5 years ago

same issue tracked here: https://github.com/google-ar/arcore-android-sdk/issues/153