Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Experimentando o ARCore

Experimentando o ARCore

Talk given at GDG Floripa 2017/4 on November 18th 2017
https://www.meetup.com/GDGFloripa/events/244544918/

André Luiz Cardoso

November 18, 2017
Tweet

More Decks by André Luiz Cardoso

Other Decks in Programming

Transcript

  1. Session session = Session(this) //Activity session.isSupported(config) session.pause() session.resume(config) // onSurfaceCreated

    session.setCameraTextureName(backgroundRenderer.textureId) // onDrawFrame val frame = session.update()
  2. Pose /** * This class tracks the attachment of object's

    Anchor to a Plane. It will construct a pose * that will stay on the plane (in Y direction), while still properly tracking the XZ changes * from the anchor updates. */ val pose = anchor.pose pose.getTranslation(poseTranslation, 0) pose.getRotationQuaternion(poseRotation, 0) poseTranslation[1] = plane.centerPose.ty() return Pose(poseTranslation, poseRotation)
  3. Matt Miesnieks - https://medium.com/super-ventures-blog/how-is-arcore-better-than- The thing developers should be focussing

    on is that building AR Apps that people care about is really challenging. It will be far less effort to learn how to build on ARKit or ARCore than the effort to learn what to build.
  4. Resources ARCore https://developers.google.com/ar Experiments https://experiments.withgoogle.com/ar How is ARCore better than

    ARKit? In some ways, but not others https://medium.com/super-ventures-blog/how-is-arcore-better-than- arkit-5223e6b3e79d Introducing ARCore: Augmented Reality at Android Scale (GDD Europe '17) https://www.youtube.com/watch?v=rFbcOGuDMPk Getting Started with ARCore with Kotlin https://www.raywenderlich.com/170520/getting-started-arcore-kotlin