Skip to content

Conversation

BrutalCoding
Copy link
Contributor

Added the ability to disable or enable the plane renderer (white dots) when it detects surfaces

The ArCoreView() now has a new property named "enablePlaneRenderer", by default its turned on which means you'll see the white dots.

@giandifra giandifra merged commit b9b416a into giandifra:master Oct 20, 2020
@AlinaStepanova
Copy link
Contributor

Hi @BrutalCoding, @giandifra!

I am trying to use this feature but still the white dots are shown.
The way I am using it:

ArCoreView(
    onArCoreViewCreated: _onArCoreViewCreated,
    type: ArCoreViewType.AUGMENTEDIMAGES,
    enablePlaneRenderer: false,
)

Device: Pixel 4, android version: 11
Could you please help in resolving this issue?
dots

@BrutalCoding
Copy link
Contributor Author

Hi @AlinaStepanova,

I’ll see if I can replicate this issue during the weekend and if so, will attempt to fix it. From reading your code it seems you do nothing wrong.

@AlinaStepanova
Copy link
Contributor

@BrutalCoding thank you

@giandifra
Copy link
Owner

@BrutalCoding @AlinaStepanova Have you this in new transformable_node branch? You can see more here #89

@AlinaStepanova
Copy link
Contributor

Hi, @giandifra!
I tried this feature with the master and a new transformable_node branches and unfortunately, the result is the same for me.
By the way, dots do not appear immediately, it takes at least 10-15 seconds for them to pop up, so at the first sight, it feels like they are disabled.

@BrutalCoding
Copy link
Contributor Author

Had little time this weekend and couldn’t find the issue at first glance🤔. I’ll try again within a few days.

@AlinaStepanova
Copy link
Contributor

As a temporary solution, I used this line of code in the ArCoreAugmentedImagesView class:

config?.planeFindingMode = Config.PlaneFindingMode.DISABLED

https://developers.google.com/ar/reference/java/com/google/ar/core/Config.PlaneFindingMode

@MarkAlexanderDev
Copy link

Thanks @AlinaStepanova! I've implemented it and the performances are also 10 times better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants