DEV Community

Cover image for Create Your AR Application using AR-Core
Suraj Sahani
Suraj Sahani

Posted on

Create Your AR Application using AR-Core

Image descriptionDo we create space-time? A new perspective on the fabric of reality
For the first time, it is possible to see the quantum world from multiple points of view at once. This hints at something very strange – that reality only takes shape when we interact with each other

IMAGINE approaching a Renaissance sculpture in a gallery. Even from a distance, it looks impressive. But it is only as you get close and walk around it that you begin to truly appreciate its quality: the angle of the jaw, the aquiline nose, the softness of the hair rendered in marble.

In physics, as in life, it is important to view things from more than one perspective. As we have done that over the past century, we have had plenty of surprises. It started with Albert Einstein’s theory of special relativity, which showed us that lengths of space and durations of time vary depending on who is looking. It also painted a wholly unexpected picture of the shared reality underneath – one in which space and time were melded together in a four-dimensional union known as space-time.

When quantum theory arrived a few years later, things got even weirder. It seemed to show that by measuring things, we play a part in determining their properties. But in the quantum world, unlike with relativity, there has never been a way to reconcile different perspectives and glimpse the objective reality beneath. A century later, many physicists question whether a single objective reality, shared by all observers, exists at all.

Now, two emerging sets of ideas are changing this story. For the first time, we can jump from one quantum perspective to another. This is already helping us solve tricky practical problems with high-speed communications. It also sheds light on whether any shared reality exists at the quantum level. Intriguingly, the answer seems to be no – until we start talking to each other. …

By Simply Using this block of code you can create your own sceneform object into your application.

For complete setup please look this article by Hari Vignesh Jayapalan

private fun makeTextureSphere(hitResult: HitResult, res: Int) {
   Texture.builder().setSource(BitmapFactory.decodeResource(resources, res))
            .build()
            .thenAccept {
                MaterialFactory.makeOpaqueWithTexture(this, it)
                    .thenAccept { material ->
                        addNodeToScene(arFragment, hitResult.createAnchor(),
                            ShapeFactory.makeSphere(
                                0.1f,
                                Vector3(0.0f, 0.15f, 0.0f),
                                material
                            ))

                    }
            }
    }
Enter fullscreen mode Exit fullscreen mode

Click here for demo application

Latest comments (0)