Documente Academic
Documente Profesional
Documente Cultură
Akram Zeyada
Solutions Engineer at orange and Team leader of GDG Delta
Proprietary and Confidential
Agenda
ARCore Overview
Augmented Reality
AR can bring anything to you. It adds
computer-generated information and
objects to your everyday world.
Proprietary and Confidential
ARCore Overview
AR can be fun
Proprietary and Confidential
ARCore Overview
ARCore
Image
Proprietary and Confidential
ARCore Overview
Light Estimation
ARCore captures information about the
lighting of the environment.
Proprietary and Confidential
ARCore Overview
Motion Tracking
ARCore combines visual data from the
device’s camera and motion data from the
device’s IMU to compute the position and
orientation of the phone.
Proprietary and Confidential
ARCore Overview
Environmental Understanding
ARCore detects surfaces - like tables and
desks, and makes these surfaces
available to your app as planes.
Proprietary and Confidential
ARCore Overview
Oriented Points
Oriented points lets you place virtual
objects on non-horizontal surfaces.
Proprietary and Confidential
ARCore Overview
Vertical Planes
Proprietary and Confidential
ARCore Overview
Augmented Images
Images are matched from a database of
know images.
Proprietary and Confidential
ARCore Overview
Cloud Anchors
Sharing anchors between people and
across platforms.
ARCore with Unity
Proprietary and Confidential
ARCore with Unity
Plane Discovery
Plane detection is the foundation of
understanding the physical world.
Proprietary and Confidential
ARCore with Unity
Session.GetTrackables<TrackedPlane>(m_AllPlanes);
Plane Visualization
Planes should be easily identified, but still
an opportunity to create your own look
and feel.
Proprietary and Confidential
ARCore with Unity
m_MeshRenderer.material.SetColor("_GridColor",
k_PlaneColors[s_PlaneCount++ % k_PlaneColors.Length]);
m_MeshRenderer.material.SetFloat("_UvRotation",Random.Range(0.0f, 360.0f));
m_MeshRenderer.material.mainTexture = myCustomTexture;
Proprietary and Confidential
ARCore with Unity
Image
Proprietary and Confidential
ARCore with Unity
// When you build a Renderable, Sceneform loads its resources in the background while returning
// a CompletableFuture. Call thenAccept(), handle(), or check isDone() before calling get().
ModelRenderable.builder()
.setSource(this, R.raw.andy)
.build()
.thenAccept(renderable -> andyRenderable = renderable);
arFragment.setOnTapArPlaneListener(
(HitResult hitResult, Plane plane, MotionEvent motionEvent) -> {
/**
* Sets the plane texture to the image in the assets directory.
* @param texturePath - the assets/ relative path.
*/
private void setPlaneTexture(String texturePath) {
Thank you!
@Akram Zeyada
akramziada12@gmail.com
developers.google.com/ar
github.com/google-ar
stackoverflow.com/questions/tagged/arcore