Skip to content

Conversation

@claywilkinson
Copy link
Owner

@claywilkinson claywilkinson commented May 14, 2018

This is the most direct conversion from using OpenGL to using
Sceneform for the Augmented Images sample. Only the rendering has been changed.

A more dramatic change is done for the Cloud Anchors sample, which
extends ArFragment and configure the
ARCore Session by overriding getSessionConfiguration() to enable
cloud anchors. This eliminates the camera permission,
and session management boilerplate.

claywilkinson and others added 3 commits May 14, 2018 10:49
This is the most direct conversion from using OpenGL to using
Sceneform.  Only the rendering has been changed.

Another approach would be to extend ArFragment and configure the
ARCore Session by overriding getSessionConfiguration() to enable
augmented images.  This would then elminate the camera permission,
full screen handling, and session management boilerplate.
merging upstream changes into sceneform branch.
@claywilkinson claywilkinson changed the title Converted Augmented Image sample to use Sceneform's ARSceneView Converted ARCore samples to use Sceneform for rendering. Jun 20, 2018
@rohitagarwal3011
Copy link

This is written in google's documentation of Working with cloud anchors

Keep objects close to anchors
When anchoring objects, make sure that they are close to the anchor you are using. Avoid placing objects farther than a few meters from the anchor to prevent unexpected rotational movement due to ARCore's updates to world space coordinates.

If you need to place an object more than a few meters away from an existing anchor, create a new anchor closer to this position and attach the object to the new anchor.

My question is that , if we host multiple cloud anchors for objects that are placed few meters away, then while we are resolving them, how can we resolve all the cloud-anchors by scanning at a particular place?

This moves the cpu camera image into a bitmap that is rotated correctly.

The GPU image capture currently is not supported in Sceneform since
there is no access to OpenGL context via sceneform.
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.

3 participants