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 show the feature points in sceneform #720

Open ghost opened 5 years ago

ghost commented 5 years ago

This screenshot is take from ARCore hello_ar_java sample example.

Screenshot_2019-05-31-23-37-53-498_com google ar core examples java helloar

How to show the small blue dots in sceneform?

Consti10 commented 5 years ago

You can get the point cloud points via private void onFrameUpdate(FrameTime unusedframeTime) { Frame frame = arFragment.getArSceneView().getArFrame(); PointCloud pointCloud=frame.acquirePointCloud(); }

To visualize them you probably have to write your own renderer (or reuse the one from the example-it uses directly OpenGL and not Sceneform,though)