weijiaqi

Results 38 comments of weijiaqi

I tried to modify it, and I changed it to the same as the ar-model-viewer-java provided in the demo, but there will still be a black screen after exiting and...

This is my model, will it have something to do with the material of the model?

How can I turn off the ambient light, when I go to view the model at night, it is dark

ArSceneViewKt.setLightEstimationConfig(this.arSceneView, LightEstimationConfig.DISABLED);

After I turned it off, the model started to turn yellow

this.arSceneView.setFrameRateFactor(SceneView.FrameRate.FULL); ArSceneViewKt.setLightEstimationConfig(arSceneView, LightEstimationConfig.DISABLED); HDREnvironmentKt.loadEnvironmentAsync( HDRLoader.INSTANCE, this, "environments/studio_small_09_2k.hdr", false, LifecycleOwnerKt.getLifecycleScope(this), hdrEnvironment -> { float indirectLightIntensity = SceneViewKt.getEnvironment(arSceneView).getIndirectLight().getIntensity(); SceneViewKt.setEnvironment(arSceneView, new Environment(hdrEnvironment.getSphericalHarmonics(), hdrEnvironment.getIndirectLight(), null)); SceneViewKt.getEnvironment(arSceneView).getIndirectLight().setIntensity(indirectLightIntensity); return Unit.INSTANCE; } );

I saw this part of the code you wrote, and I still have a problem after adding it

After adding the effect ![11](https://user-images.githubusercontent.com/16206185/186311451-e2e121d1-4b89-43c6-910f-2c97908c915f.jpg)

the effect i want ![222](https://user-images.githubusercontent.com/16206185/186311495-5a24b7aa-90b2-447b-8cac-fcc061fda036.jpg)