Sceneform-android-sdk: Lighting Estimation

Created on 24 Jul 2019  路  5Comments  路  Source: google-ar/sceneform-android-sdk

Is it possible to provide us with a sample about lighting estimation? The rocket example used in the documentation overview looks very nice. But I can't get it to work the same way.

https://developers.google.com/ar/develop/java/light-estimation/developer-guide-java

  • From where should the update method be called?
  • How should I apply the setDirectionLightValues?
  • How should I apply the setAmbientSphericalHarmonicsLightValues?
  • How should I apply the UploadToTexture?

Most helpful comment

yes, we need help, please let us know how can we implement https://developers.google.com/ar/develop/java/light-estimation/developer-guide-java

All 5 comments

please help.

Right now if you configure the session with Config.LightEstimationMode.ENVIRONMENTAL_HDR the whole model becomes black. If I set the default Sun node direction, nothing happens, adding a new light Node doesn't do anything neither. And how to process the 3 values in this array:
float[] intensity = lightEstimate.getEnvironmentalHdrMainLightIntensity();
The direction is obvious, of course, the 3 values of intensity isn't, for me at least. Oh and a small thing to mention: ArImage is missing from the documentation: https://developers.google.com/ar/reference/java/arcore/reference/com/google/ar/core/ArImage

yes, we need help, please let us know how can we implement https://developers.google.com/ar/develop/java/light-estimation/developer-guide-java

Yes, please complete the samples!

Those app.doSomething() lines hurt a lot.

Thanks.

same problem. Complete your documentation. app.something() says a lot.

Was this page helpful?
0 / 5 - 0 ratings