Skip to content

surajsahani/AR-Bounceball

Repository files navigation

AR-Bounceball

Do we create space-time?

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

It all 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 A new perspective on the fabric of reality. ARCore SDK Implementation, Android Bouncing ball App

demo.mp4

Features

Firebase Login/Registration
Place an 3D object cube,sphere
Rotate cube X (left arrow)
Rotate cube Y (right arrow)
place sphere3D object ARCore
persistence of 3D object after screen move away
bounce (on progress)
Rotate Z (on progress)

Project Architecture

AR Scene form
Android Navigation Component
Firebae Auth
Kotlin Extension

Sphere 3D object

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
                            ))

                    }
            }
    }

Read more: https://dev.to/surajsahani/create-your-ar-application-using-ar-core-17kj

Built With 🛠︎

Kotlin ARCore

About

ARCore project That Implements 3D Sceneform.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors